Options for toObservable.
API
interface ToObservableOptions {
injector?: Injector | undefined;
}
injector
Injector | undefinedThe Injector to use when creating the underlying effect which watches the signal.
If this isn't specified, the current injection context will be used.