You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Luau supports continuations in its C API (see pushcclosurek's lua_Continuation argument as one place where it's supported). It would be nice if this was exposed somehow in mlua both as Luau's APIs seem to be increasingly expecting callers to have support for these (especially things like yielding require by string)
In addition, continuations could be useful for implementing concurrency primitives more performantly etc (such as custom task schedulers)
The text was updated successfully, but these errors were encountered:
I don't have plans to support continuations in near future for any Lua version. The current async API covers all needs, works great and is runtime-agnostic. async-friendly "require by string" does not require continuation functions either.
However, I'm happy to review a PR with reasonable support of continuation functions.
I don't have plans to support continuations in near future for any Lua version. The current async API covers all needs, works great and is runtime-agnostic. async-friendly "require by string" does not require continuation functions either.
However, I'm happy to review a PR with reasonable support of continuation functions.
Ah alright, I'll think about opening a PR then if I find myself really needing it
Luau supports continuations in its C API (see pushcclosurek's lua_Continuation argument as one place where it's supported). It would be nice if this was exposed somehow in mlua both as Luau's APIs seem to be increasingly expecting callers to have support for these (especially things like yielding require by string)
In addition, continuations could be useful for implementing concurrency primitives more performantly etc (such as custom task schedulers)
The text was updated successfully, but these errors were encountered: