OptionalctxStatic job context or factory evaluated for each dispatched job.
OptionalhooksHooks that wrap every job attempt executed by this dispatcher. Runner hooks wrap job-local hooks.
OptionalonCalled when a dispatched inline job fails all attempts allowed by its retry policy. When omitted, the final error is rethrown to the caller.
OptionalretryHonor the job's declared retry policy inline. Defaults to true. Set
false when another layer owns execution retries for every dispatch
through this dispatcher.
OptionalsleepSleep implementation used between retry attempts. Defaults to a real
setTimeout delay; inject a fake in tests to keep retries instant.
Options for the inline job dispatcher.