toObservable
toObservable<
T>(listen,source,options?):Observable<T>
Defined in: projects/view-angular-core/util/to_observable.ts:29
Exposes the value of an Angular Signal as an RxJS Observable.
The signal’s value will be propagated into the Observable’s subscribers using an effect.
toObservable must be called in an injection context unless an injector is provided via options.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”listen
Section titled “listen”Signal<any>
source
Section titled “source”Signal<T>
options?
Section titled “options?”Returns
Section titled “Returns”Observable<T>
Public Api
Section titled “Public Api”20.0