W3cubDocs

/RxJS

publishBehavior

function stable

publishBehavior<T>(value: T): UnaryFunction<Observable<T>, ConnectableObservable<T>>

Parameters

value

Type: T.

Returns

UnaryFunction<Observable<T>, ConnectableObservable<T>>:

© 2015–2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
https://rxjs.dev/api/operators/publishBehavior