mirror of
https://github.com/micropython/micropython.git
synced 2026-01-12 06:57:14 +01:00
Allows to get event time for a head item in the queue. The usecase if waiting for the next event *OR* I/O completion. I/O completion may happen before event triggers, and then wait should continue for the remaining event time (or I/O completion may schedule another earlier event altogether). The new function has a strongly provisional status - it may be converted to e.g. peek() function returning all of the event fields, not just time.
7.7 KiB
7.7 KiB