Other Protocols

The following protocols are available globally.

  • A protocol that adds a readable localizedDescription to error enums.

    See more

    Declaration

    Swift

    public protocol ErrorEnum : Error
  • An error that can be created with an underlying error of a specific type.

    See more

    Declaration

    Swift

    public protocol ErrorWrapping<SomeError> : Error
  • A utility providing some basic insight into the number of queued events for each processor.

    See more

    Declaration

    Swift

    public protocol QueueMetrics
  • A protocol for objects that can repeat an action at regular intervals.

    See more

    Declaration

    Swift

    public protocol Repeater
  • An object from which you can extract an optional error.

    See more

    Declaration

    Swift

    public protocol ErrorExtractor<ErrorType>
  • Protocol for managing session state and updates.

    See more

    Declaration

    Swift

    public protocol SessionRegistry
  • An object that receives a Dispatch, enriches it and sends it to be dispatched.

    See more

    Declaration

    Swift

    public protocol Tracker : AnyObject