Comment by immibis
8 days ago
For this to work, your API has to be an async I/O API not an event listening API. It can't be "wait for readable" - it has to be "do a read and wait for it"
8 days ago
For this to work, your API has to be an async I/O API not an event listening API. It can't be "wait for readable" - it has to be "do a read and wait for it"
No, it's "launch a read and elsewhere get a completion event".
"do a read and wait for it" is synchronous I/O.