Comment by bheadmaster
1 year ago
Sync functions that block (e.g. perform a system call) cannot be called from async functions.
(Actually, they can, but you're going to stop the whole scheduler, or at least one of its worker threads, which is something you really don't want to do...)
No comments yet
Contribute on Hacker News ↗