Conversation
|
There is |
It requires a function, which we don't have. This new function, Im assuming |
I don't think it's mlua goal to replicate functionality of Lua standard library. The idea behind |
|
I actually just came across this limitation when trying to implement Roblox’s task.close in pure rust+mlua. Currently worked around using lua.globals() and getting coroutine.close and then calling it with the thread as argument but it’s a workaround |
It's currently being used in my own project, here's my implementation of it: |
Implementation of a close function, marking a thread as finalized.