MongoEvent

public protocol MongoEvent

A protocol for monitoring events to implement, specifying their type and name.

  • The MongoEventType corresponding to the event. This event will be posted if monitoring is enabled for its eventType.

    Declaration

    Swift

    static var eventType: MongoEventType { get }
  • The name this event will be posted under.

    Declaration

    Swift

    static var eventName: Notification.Name { get }