StreamWithValueExtensions<TInput> extension
We want StreamWithValue to be usable as an interface, rather than forcing users to inherit from it, since it has no state. Any implementations that can be useful are provided via this extension instead.
- on
-
- StreamWithValue<
TInput>
- StreamWithValue<
Properties
- valueOrNull → TInput?
-
Returns
null
if loaded isfalse
, otherwise returns value.no setter -
valueWithUpdates
→ Stream<
TInput> -
Yields value if it's loaded, then relays to updates.
no setter
Methods
-
map<
TOutput> (_Converter< TInput, TOutput> convert) → StreamWithValue<TOutput>