outputToObservable
Converts an Angular output declared via output() or outputFromObservable() to an observable. It creates an observable that represents the stream of "events firing" in an output.
API
function outputToObservable<T>(ref: OutputRef<T>): Observable<T>;
@paramref
OutputRef<T>
@returns
Observable<T>
Description
Converts an Angular output declared via output() or outputFromObservable() to an observable. It creates an observable that represents the stream of "events firing" in an output.
You can subscribe to the output via Observable.subscribe then.
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/rxjs-interop/outputToObservable