MainContext.pending

bool pending() nothrow

Checks if any sources have pending events for the given context.

Returns

true if events are pending.