StatusStream
Attributes
- Graph
-
- Supertypes
-
class AnyValtrait Matchableclass Any
Members list
Value members
Concrete methods
Emit x
if parent stream emits Resolved(_, x, _)
, do nothing otherwise
Emit x
if parent stream emits Resolved(_, x, _)
, do nothing otherwise
Attributes
Emit pf(x)
if parent stream emits Resolved(_, x, _)
, do nothing otherwise
Emit pf(x)
if parent stream emits Resolved(_, x, _)
, do nothing otherwise
Attributes
Emit Pending(input)
if parent stream emits that, do nothing otherwise
Emit Pending(input)
if parent stream emits that, do nothing otherwise
Attributes
Emit input
if parent stream emits Pending(input)
, do nothing otherwise
Emit input
if parent stream emits Pending(input)
, do nothing otherwise
Attributes
Emit pf(Resolved(...))
if parent stream emits Resolved(...), do nothing otherwise
Emit pf(Resolved(...))
if parent stream emits Resolved(...), do nothing otherwise
Attributes
Emit pf(Resolved(...))
if parent stream emits Resolved(...) and pf
is defined for it, do nothing otherwise
Emit pf(Resolved(...))
if parent stream emits Resolved(...) and pf
is defined for it, do nothing otherwise
Attributes
This .split
-s a stream of Statuses by their type (resolved vs pending). If you want a different key, use the .splitOne operator directly.
This .split
-s a stream of Statuses by their type (resolved vs pending). If you want a different key, use the .splitOne operator directly.
Value parameters
- pending
-
(initialPending, signalOfPendingValues) => output
pending
is called wheneverstream
switches fromResolved
toPending
, or when the very first event is emitted (and it'sPending
, as is typical)signalOfPendingValues
starts withinitialPending
value, and updates when the parent stream emits a newResolved
consecutively after anotherResolved
. This happens when the stream emits inputs faster than the outputs are resolved. - resolved
-
(initialResolved, signalOfResolvedValues) => output
resolved
is called wheneverstream
switches fromPending
toResolved
.signalOfResolvedValues
starts withinitialResolved
value, and updates when the parent stream emits a newResolved
consecutively after anotherResolved
.