- Companion:
- class
Type members
Classlikes
Treat many subscriptions as one
Treat many subscriptions as one
- Companion:
- object
Merge two subscriptions into a single one
Merge two subscriptions into a single one
The empty subscription represents the absence of subscriptions
The empty subscription represents the absence of subscriptions
A subscription that forwards the notifications produced by the given observable
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
A subscription that emits a msg
based on the running time in seconds whenever the browser renders an animation frame.
A subscription that emits a msg
based on the running time in seconds whenever the browser renders an animation frame.
A subscription that emits a msg once. Identical to timeout with a duration of 0.
A subscription that emits a msg once. Identical to timeout with a duration of 0.
A subscription that repeatedly produces a msg
based on an interval
.
A subscription that repeatedly produces a msg
based on an interval
.
A subscription that repeatedly produces a msg
based on an interval
.
A subscription that repeatedly produces a msg
based on an interval
.
Make an uncancelable subscription that produces am optional message
Make an uncancelable subscription that produces am optional message
A subscription that emits a msg
based on an a JavaScript event.
A subscription that emits a msg
based on an a JavaScript event.
Make a cancelable subscription that produces an optional message
Make a cancelable subscription that produces an optional message
Make a cancelable subscription that returns a value (to be mapped into a Msg)
Make a cancelable subscription that returns a value (to be mapped into a Msg)
A subscription that produces a msg
after a duration
.
A subscription that produces a msg
after a duration
.