EventType

public protocol EventType

The protocol for all event structs.

Usually not used directly. Used as a bound by State.on(...).

  • All events are marked as internal or external. Internal events were caused via Swindler, external events were not.

    Declaration

    Swift

    var external: Bool { get }