MainContext.pending

bool pending()

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

Returns

true if events are pending.