Async Promise class
Deviatt
Lua semantics does not allow the behavior you describe. This behavior should use coroutine.
JustGod
Deviatt When multithreading will be available, of course, in the meantime if coroutines are not "activated" on Nanos the point is that it's useless, I agree.
T
Timmy
If this is added, ideally promises should be managed by a thread dedicated to them