GLib.MainContext.prototype.pending
function pending(): Boolean {
// Gjs wrapper for g_main_context_pending()
}
Checks if any sources have pending events for the given context.
- Returns
true if events are pending.
function pending(): Boolean {
// Gjs wrapper for g_main_context_pending()
}
Checks if any sources have pending events for the given context.
true if events are pending.