W3cubDocs

/Angular

ToObservableOptions

interface developer preview

Options for toObservable.

interface ToObservableOptions {
  injector?: Injector
}

Properties

Property Description
injector?: Injector

The Injector to use when creating the underlying effect which watches the signal.

If this isn't specified, the current injection context will be used.

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/rxjs-interop/ToObservableOptions