Waits for and dispatches all events. Returns -1 on error, 0 if max_wait_time expired, or the number of events that were dispatched.
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected