API Reference / @gtkx/runtime / keepAlive
Function: keepAlive()
keepAlive(
enable):void
Defined in: packages/runtime/src/keep-alive.ts:6
Keeps the Node event loop alive for native work in a helper process. This switch is not reference counted: coordinate overlapping operations and disable it only after the last operation finishes. Application elements manage this automatically.
Parameters
enable
boolean
Returns
void