PlutoLang / Pluto

A superset of Lua 5.4 with a focus on general-purpose programming.
https://pluto-lang.org/docs/Introduction
MIT License
338 stars 20 forks source link

Requesting new feature 'async'. #848

Closed baidwwy closed 2 months ago

baidwwy commented 2 months ago

https://github.com/ms-jpq/lua-async-await

Sainan commented 2 months ago

I don't get it. Lua already has coroutines, and Pluto already has the scheduler library to reduce the boilerplate around using them.

Furthermore, the way we design our standard library is so that it can be used in both blocking and non-blocking ways, so I just don't see what problem this is trying to solve.