3 ms·
> Calling a sync API from an async function is no different to calling it from a sync one. That's only true syntactically. If your sync function actually does
by sly010 5y ago
> Calling a sync API from an async function is no different to calling it from a sync one.
That's only true syntactically. If your sync function actually does any IO, it will block your async worker thread. Said differently it just synchronized your async code.