ready

fnint ready() nothrow @nogc

Checks if events are ready without processing them.

This can be used to poll for events without actually handling them.

Returns

Non-zero if events are waiting to be processed