Skip to content

@purista/core v2.0.5


PURISTA API / @purista/core / ShutdownEntry

Type Alias: ShutdownEntry

ShutdownEntry: object

Defined in: packages/core/src/helper/types/ShutdownEntry.ts:4

Entry of thing you like to shutdown gracefully

Type declaration

destroy()

destroy: () => Promise<void>

a async function that is called during shutdown

Returns

Promise<void>

name

name: string

the name