CausalityAnySubscription

public protocol CausalityAnySubscription : AnyObject

All Subscriptions conform to this protocol

  • id

    A unique for the subscription

    Declaration

    Swift

    var id: Causality.SubscriptionId { get }
  • The current state of the subscription

    Declaration

    Swift

    var status: Causality.SubscriptionStatus { get }
  • The handler for this subscription will no longer be called after an `unsubscribe()

    Declaration

    Swift

    func unsubscribe()