tyrian.Sub.Observe
See theObserve companion object
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
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article