Skip to content

API Reference / @gtkx/runtime / onExit

Variable: onExit ​

const onExit: (callback) => void

Defined in: packages/runtime/dist/lifecycle.d.ts:48

Registers a callback to run once when the process quits, before the native runtime is torn down.

Parameters ​

callback ​

() => void

Invoked during shutdown.

Returns ​

void