rayaman / multi

My multitasking library for lua
MIT License
26 stars 0 forks source link

Add poll interval to thread.hold like functions #24

Closed rayaman closed 3 years ago

rayaman commented 3 years ago

Instead of constantly polling allow for an interval to be supplied. An option table will most likely be the route taken.

rayaman commented 3 years ago

After thinking about it, having only 1 thread.hold function sounds better and that function can be adapted using the options table.