ToSignalOptions
Options for toSignal
.
interface ToSignalOptions {
initialValue?: unknown
requireSync?: boolean
injector?: Injector
manualCleanup?: boolean
rejectErrors?: boolean
}
Properties
Property | Description |
---|---|
initialValue?: unknown
|
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 |
rejectErrors?: boolean
|
Whether In practice, this means that the signal returned by |