Enumerations

The following enumerations are available globally.

  • The error for posting event

    • useless: post a message that no subscriber observing
    See more

    Declaration

    Swift

    public enum EventBusPostError : Error
  • The priority of subscriber to revieve message

    • low: low leve priority, value is 1
    • default: default leve priority, value is 5
    • high: high leve priority, value is 10
    See more

    Declaration

    Swift

    public enum EventBusPriority
  • The subscribe model when code excuting

    • same: dispatch block in same queue when post and subscribe
    • main: dispatch block in main queue only when subscribe
    See more

    Declaration

    Swift

    public enum DispatchMode