Repository navigation
tinyio v0.1.4
- Performance: we now use a proper event-based system to notify when to wake up the event loop (rather than leaving it busy-polling). This is a fairly major rewrite of our internals! And correspondingly we are now only '300 lines'-tiny rather than '200 lines'-tiny.
- Feature:
tinyio.Event.waitnow supports timeouts. - Feature: added
tinyio.Event.clearto un-set an event. - QoL: added a guardrail to prevent
yielding on an already-completed coroutine that the loop has not seen before. - QoL: added a guardail to prevent performing
if event:instead ofif event.is_set(): - QoL: if multiple
.run_in_threads all error out at the same time, then this is handled appropriately.
Full Changelog: v0.1.3...v0.1.4