interface
Options for toSignal
.
interface ToSignalOptions<T> { initialValue?: T requireSync?: boolean injector?: Injector manualCleanup?: boolean }
Property | Description |
---|---|
initialValue?: T | Initial value for the signal produced by This will be the value of the signal until the observable emits its first value. |
requireSync?: boolean | Whether to require that the observable emits synchronously when If this is |
injector?: Injector |
If this is not provided, a |
manualCleanup?: boolean | Whether the subscription should be automatically cleaned up (via If manual cleanup is enabled, then |
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/rxjs-interop/ToSignalOptions