Interface ShutdownOptions
Index
Properties
Properties
OptionalgracefulTimeoutMs
gracefulTimeoutMs?: number
For mode="drain", max time to wait for in-flight handlers (ms).
Ignored by force / abandon (which don't await handlers). Default
30_000.
Optionalmode
mode?: string
Shutdown mode — "drain" (default), "force", or "abandon". See
Eddyq.shutdown docs for the tradeoffs.
Options for
Eddyq.shutdown. All fields optional.