3 ms·
The argument for requiring `await` is that it makes explicit which calls might yield control back to the event loop. With Lua’s stackful coroutines, this infor
by pansa2 6y ago
The argument for requiring `await` is that it makes explicit which calls might yield control back to the event loop.
With Lua’s stackful coroutines, this information would either be hidden or just a naming convention, e.g. read_file vs read_file_async.