Skip to content

ShutdownTask

ShutdownTask = (reason) => Promise<void> | void

Defined in: src/CoordinatedShutdown.ts:38

A single task. Returning a Promise makes the task async.

Reason

Promise<void> | void