Skip to content

onRemoteShutdown

onRemoteShutdown(hook): () => void

Defined in: packages/core/src/adapters/remote-lease-shutdown.ts:23

Run hook on shutdown; returns the function that unregisters it.

() => Promise<void>

() => void