3 ms·
Example terrible API: You have to create a socket for a new connection before calling async_accept. Try using this with coroutines. > opt-in support for future
by nly 11y ago
Example terrible API: You have to create a socket for a new connection before calling async_accept. Try using this with coroutines.
> opt-in support for futures via a special callback type.
Which is ugly. The coroutines opt-in as well. Coroutines actually have the potential to be faster than callbacks.