Table of Contents

Method PublishReconnectable

Namespace
Bonsai
Assembly
Bonsai.Core.dll

PublishReconnectable<TSource>(IObservable<TSource>)

Returns a connectable observable sequence that upon connection causes the source to push results into a new fresh Subject<T>.

public static IConnectableObservable<TSource> PublishReconnectable<TSource>(this IObservable<TSource> source)

Parameters

source IObservable<TSource>

The source sequence whose elements will be pushed into the specified subject.

Returns

IConnectableObservable<TSource>

The reconnectable sequence.

Type Parameters

TSource

The type of the elements in the source sequence.