ActionSubscriber

public protocol ActionSubscriber : AnyObject

Subscriber for receiving action status update events.

  • Notifies the subscriber of an updated action.

    Declaration

    Swift

    func actionUpdated(_ action: Action)

    Parameters

    action

    The updated action.

  • Notifies the subscriber that the subscription connection state has changed.

    The subscriber will not receive action status change notifications until the connection state changes to .connected, and will stop receiving them once it changes to .disconnected.

    Declaration

    Swift

    func connectionStatusChanged(_ state: ConnectionState)

    Parameters

    state

    The new connection state.