Closed johncantrell97 closed 1 year ago
Adds the concept of events to the library. Future protocols should:
pending_events
End user is currently expected to poll for events using either:
get_and_clear_pending_events
or
get_next_event
Perhaps we want an async version that returns a Future as well?
Adds the concept of events to the library. Future protocols should:
pending_events
EventQueue.End user is currently expected to poll for events using either:
get_and_clear_pending_events
in order to retrieve all currently queued events without blocking (returns empty vec if nothing present)or
get_next_event
blocks until next event is ready and returns itPerhaps we want an async version that returns a Future as well?