5 ms·
You can't just sprinkle async onto existing functions and have the awaiting code resume magically: Going async also requires an event loop. Adding an event loo
by 0x0 11y ago
You can't just sprinkle async onto existing functions and have the awaiting code resume magically: Going async also requires an event loop.
Adding an event loop to an environment where there previously has not been one is non-trivial.
Also, changing existing blocking methods to be non-blocking would break everything that uses (and expects) those APIs to be blocking.