Skip to content

API Reference / @gtkx/native / keepAlive

Function: keepAlive()

keepAlive(enable): void

Defined in: index.d.ts:102

Enables or disables keeping the Node event loop alive while the GLib run loop is otherwise idle.

Parameters

enable

boolean

Returns

void

Released under the MPL-2.0 License.