Skip to content

tinyio v0.1.4

Choose a tag to compare

@github-actions github-actions released this 02 Aug 21:56
· 43 commits to main since this release
  • 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.wait now supports timeouts.
  • Feature: added tinyio.Event.clear to 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 of if 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