BroadcastStateStreamExtensions<T> extension
Convert a StateStream to a broadcast StateStream.
- on
-
- StateStream<
T>
- StateStream<
Methods
-
asBroadcastStateStream(
) → StateStream< T> - Convert the this StateStream into a new StateStream that can be listened to multiple times, providing an initial value. It will automatically begin emitting items when first listened to, and shut down when no listeners remain.