Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by immibis

7 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"

1 comment

immibis

Reply

cryptonector  7 days ago

No, it's "launch a read and elsewhere get a completion event".

"do a read and wait for it" is synchronous I/O.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities