跳转到内容

toObservable

toObservable<T>(listen, source, options?): Observable<T>

Defined in: projects/view-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.

T

Signal<any>

Signal<T>

ToObservableOptions

Observable<T>

20.0