ConnectableObservable
deprecatedWill 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
§Constructors
The source observable
The factory that creates the subject used internally.
Will be removed in v8. Use connectable to create a connectable observable.
new ConnectableObservable(source, factory)
is equivalent to
connectable(source, { connector: factory })
.
When the refCount()
method is needed, the share operator should be used instead:
new ConnectableObservable(source, factory).refCount()
is equivalent to
source.pipe(share({ connector: factory }))
.
Details: https://rxjs.dev/deprecations/multicasting
§Properties
§Methods
ConnectableObservable will be removed in v8. Use connectable instead. Details: https://rxjs.dev/deprecations/multicasting
ConnectableObservable will be removed in v8. Use the share operator instead. Details: https://rxjs.dev/deprecations/multicasting