MIO v0.8.1 Release Notes

  • โž• Added

    • โž• Add try_io method to all I/O types (#1551). This execute a user defined I/O closure while updating Mio's internal state ensuring that the I/O type receives more events if it hits a WouldBlock error. This is added to the following types:
      • TcpStream
      • UdpSocket
      • UnixDatagram
      • UnixStream
      • unix::pipe::Sender
      • unix::pipe::Receiver
    • ๐Ÿ‘ Basic, experimental support for wasm32-wasi target (#1549). Note that a lot of time type are still missing, e.g. the Waker, and may never be possible to implement.