Optional
allowOptional
debugA debug name for the effect. Used in Angular DevTools to identify the effect.
Optional
filterPrevents execution of the effect if this returns false.
Optional
forceAlways create a root effect (which is scheduled as a microtask) regardless of whether effect
is called within a component.
Optional
injectorThe Injector
in which to create the effect.
If this is not provided, the current injection context
will be used instead (via inject
).
Optional
manualWhether the effect
should require manual cleanup.
If this is false
(the default) the effect will automatically register itself to be cleaned up
with the current DestroyRef
.
Optional
startA condition that will prevent the effect from running until it is true.
Once it is true once, it will not be checked again.
Optional
timesOptional
untilA condition that will terminate the effect.
If times is also set, then whichever comes first will terminate the effect.
Options that control the behavior of gatedEffect.