ExecutionPolicy
interface ExecutionPolicy
Defines execution behavior of handler functions added to a subtypeEffectHandler.
Inheritors
Types
Link copied to clipboard
Handle Effects concurrently up to the provided limit, defaulting to DEFAULT_CONCURRENCY.
Link copied to clipboard
Handle only the most recent Effect, cancelling the previous operation when a new Effect is dispatched.
Link copied to clipboard
Handle Effects one at a time, completing each in order before handling the next.
Link copied to clipboard
Immediately handle the first Effect, delaying any new effects by the provided window. When a new Effect is dispatched within the window, it is dispatched after the window elapses and the previous handler is canceled if still running.