New crate: readyhttps://github.com/yoshuawuyts/ready …
To clarify a bit what this does: when implementing async wrappers around OS APIs (TCP, UDP, etc.) at the base level you essentially implement a callback-based state machine. Around that a futures API can be built so it works nicely. Ready makes building the state machine easier
-
-
Essentially this has taken some of Romio's internals, and generalized them. This will both allow Romio's API to be more streamlined + the interface can be reused in future crates.
Show this thread -
The only callback APIs left to abstract after this are poll_recv_from and poll_write_to. Both essential APIs for creating UDP-style protocols. https://docs.rs/romio/0.3.0-alpha.2/romio/struct.UdpSocket.html#method.poll_send_to … If they should be part of this crate is the question (— probably not)
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.