ConnectableStreamExtensions<T> extension
Extends the Stream class with the ability to transform a single-subscription Stream into a ConnectableStream.
- on
-
- Stream<
T>
- Stream<
Methods
-
publish(
) → PublishConnectableStream< T> -
Available on Stream<
Convert the current Stream into aT> , provided by the ConnectableStreamExtensions extensionConnectableStreamthat can be listened to multiple times. It will not begin emitting items from the original Stream until theconnectmethod is invoked. -
publishReplay(
{int? maxSize}) → ReplayConnectableStream< T> -
Available on Stream<
Convert the current Stream into aT> , provided by the ConnectableStreamExtensions extensionReplayConnectableStreamthat can be listened to multiple times. It will not begin emitting items from the original Stream until theconnectmethod is invoked. -
publishValue(
) → ValueConnectableStream< T> -
Available on Stream<
Convert the current Stream into aT> , provided by the ConnectableStreamExtensions extensionValueConnectableStreamthat can be listened to multiple times. It will not begin emitting items from the original Stream until theconnectmethod is invoked. -
publishValueSeeded(
T seedValue) → ValueConnectableStream< T> -
Available on Stream<
Convert the current Stream into aT> , provided by the ConnectableStreamExtensions extensionValueConnectableStreamthat can be listened to multiple times, providing an initial seeded value. It will not begin emitting items from the original Stream until theconnectmethod is invoked. -
Available on Stream<
Convert the current Stream into a new Stream that can be listened to multiple times. It will automatically begin emitting items when first listened to, and shut down when no listeners remain.T> , provided by the ConnectableStreamExtensions extension -
Available on Stream<
Convert the current Stream into a newT> , provided by the ConnectableStreamExtensions extensionReplayStreamthat can be listened to multiple times. It will automatically begin emitting items when first listened to, and shut down when no listeners remain. -
Available on Stream<
Convert the current Stream into a new ValueStream that can be listened to multiple times. It will automatically begin emitting items when first listened to, and shut down when no listeners remain.T> , provided by the ConnectableStreamExtensions extension -
Available on Stream<
Convert the current Stream into a new ValueStream 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.T> , provided by the ConnectableStreamExtensions extension