interface
developer preview
Options passed to the effect
function.
interface CreateEffectOptions { injector?: Injector manualCleanup?: boolean allowSignalWrites?: boolean }
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. |
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/CreateEffectOptions