API Reference / @gtkx/runtime / onExit
Function: onExit()
onExit(
callback):void
Defined in: packages/runtime/src/lifecycle.ts:94
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