3 ms·
That may be true, but his example is not evented programming. Unless the function he is calling is badly named, I am pretty sure the style he was thinking about
by EGreg 9y ago
That may be true, but his example is not evented programming. Unless the function he is calling is badly named, I am pretty sure the style he was thinking about was about blocking the thread until I/O completed.
- gpderetta 9y agoI can't know what the OP had in mind, but I don't see anything that would prevent the example to be fully asynchronous. http::repsonse could be the moral equivalent of a future or it could be running on top of a coroutine.