Skip to content

Connectum API Reference / @connectum/core / types / ShutdownHook

Type Alias: ShutdownHook

ShutdownHook = () => void | Promise<void>

Defined in: packages/core/src/types.ts:39

Shutdown hook function type

A function called during graceful shutdown. May be synchronous or async.

Returns

void | Promise<void>