Reaxive.SubscriptionBehaviour behaviour
Behaviour for subscriptions with default implementations which does not have any subelements.
It implements the protocol Subscription
.
Summary
__using__(opts) | Defines the default implementations of subscriptions |
Types
Macros
Defines the default implementations of subscriptions
Callbacks
Specs:
- init((() -> :ok)) :: Reaxive.Subscription.State
Specs:
- is_unsub?(t) :: boolean
Specs:
- is_unsubscribed?(t) :: boolean
Specs:
- start_link((() -> :ok)) :: t
Specs:
- unsubscribe(t) :: :ok