Open
Description
When making a task scheduler for luau using mlua, I ran into the issue where resuming a Thread which was currently calling a Rust async function could deadlock. This is due to the undocumented variant of the lightuserdata mlua::Lua::poll_pending()
being returned which seems to mean that all cases where this is returned should be stored and periodically resumed until completion of the thread.
Could this API please be documented?
Metadata
Metadata
Assignees
Labels
No labels