Skip to content

v0.9.6

Latest
Compare
Choose a tag to compare
@trowski trowski released this 31 Mar 16:43

Added

  • Added Icicle\execute() function that takes a callback (may be a normal function, return an Awaitable, or be a coroutine) and runs the function within a running event loop. This function may be used to initialize and run a program instead of manually creating an initial Coroutine instance and calling Icicle\Loop\run().

Fixed

  • Fixed #18 resulting from stream_select() on Windows sometimes removing array keys if only a single socket is in the loop.
  • Fixed a bug in Icicle\Loop\SelectLoop that could result in the callback on an IO watcher to be erroneously invoked with $expired set to true if Io::listen() is called successively without an event occurring between invocations.