ConsoleInput.pendingEvents
Get pending events from the internal buffer.
This is called internally by the wakeup handler to retrieve events posted by the worker thread.
Returns
Slice of pending events, or empty if none available.
Get pending events from the internal buffer.
This is called internally by the wakeup handler to retrieve events posted by the worker thread.