CreateEffectOptions
Options passed to the effect
function.
interface CreateEffectOptions {
injector?: Injector
manualCleanup?: boolean
allowSignalWrites?: boolean
}
Properties
Property | Description |
---|---|
injector?: Injector
|
The If this is not provided, the current injection context
will be used instead (via |
manualCleanup?: boolean
|
Whether the If this is |
allowSignalWrites?: boolean
|
Whether the Using effects to synchronize data by writing to signals can lead to confusing and potentially incorrect behavior, and should be enabled only when necessary. |