EventState

public enum EventState<T>

The state of the event.

  • The event is active and accepting new payloads.

    Declaration

    Swift

    case active
  • The event is closed. Subsequent calls to fire(payload:) will be ignored.

    Declaration

    Swift

    case closed(T)