SignalStreamUtils<T> extension
Extension on stream to provide helpful methods for signals
- on
-
- Stream<
T>
- Stream<
Methods
-
toStreamSignal(
{bool? cancelOnError, String? debugLabel, T? initialValue, bool autoDispose = false, bool lazy = true, List< ReadonlySignal> dependencies = const [], void onDone()?}) → StreamSignal<T> -
Available on Stream<
Convert a stream to a signalT> , provided by the SignalStreamUtils extension -
toSyncSignal(
T initialData) → ReadonlySignal< T> -
Available on Stream<
Convert a Stream to ReadonlySignal and provide initial value.T> , provided by the SignalStreamUtils extension