Skip to content

API Reference / @gtkx/runtime / onExit

Variable: onExit

const onExit: (callback) => void

Defined in: runtime/dist/lifecycle.d.ts:21

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

Released under the MPL-2.0 License.