A subscription that forwards the notifications produced by the given observable
- Type parameters:
- A
type of notification values produced by the observable
- F
type of the effect monad, must be a Cats Effect 3 Concurrent.
- Msg
type of message produced by the subscription
- Value parameters:
- id
Globally unique identifier for this subscription
- observable
Observable and cancellable/closable effect that produces notifications. Encoded as a callback with an effect describing how to optionally close the subscription.
- toMsg
a function that turns every notification value into a possible message
- Companion:
- object
Value members
Concrete methods
Inherited methods
Infix operation for combining two Subs into one.
Infix operation for combining two Subs into one.
- Inherited from:
- Sub