Similar to theScheduler.await but also has waiting timeout. Calling task will be resumed either if awaited task finished or timeout is hit, whichever happens first.
Suspends the current fiber/task and resumes it again after micro_seconds microseconds.
Implements timer event pool together with logic to handle arbitrary amount of events using single file descriptor. Allocated by registerResumeEvent on access.
Collection of task waiting / timer utilities wrapped in an easy to use, pseudo-blocking API.
Uses a private static ocean.io.select.client.TimerSet instance for fiber resuming.
Usage example: See the documented unittest of the wait() function