Deprecated
Will be removed in v8. Use connectable to create a connectable observable.
If you are using the refCount
method of ConnectableObservable
, use the share operator
instead.
Details: https://rxjs.dev/deprecations/multicasting
import { ConnectableObservable } from "https://deno.land/x/rxjs@v1.0.2/mod.ts";
Constructors
new
ConnectableObservable(source: Observable<T>, subjectFactory: () => Subject<T>)Properties
protected
_connection: Subscription | nullMethods
protected
_subscribe(subscriber: Subscriber<T>)protected
_teardown()protected
getSubject(): Subject<T>deprecated
connect(): Subscriptiondeprecated
refCount(): Observable<T>