Version 0.0.6
Pre-release
Pre-release
Added
-
Initial implementation of Roblox's task library, with some caveats:
- Minimum wait / delay time is currently set to 10ms, subject to change
- It is not yet possible to pass arguments to tasks created using
spawn
/delay
/defer
- Timings for
defer
are flaky and deferred tasks are not (yet) guaranteed to run after spawned tasks
With all that said, everything else should be stable!
- Mixing and matching the
coroutine
library withtask
works in all cases process.exit()
will stop all spawned / delayed / deferred threads and exit the process- Lune is guaranteed to keep running until there are no longer any waiting threads
If any of the abovementioned things do not work as expected, it is a bug, please file an issue!
Fixed
- Potential fix for spawned processes that yield erroring with "attempt to yield across metamethod/c-call boundary"