Added ThreaderUpdater

Added the threadedupdater module and updated the all.lua to reflect the new additions!
This commit is contained in:
2017-06-06 16:45:23 -04:00
parent 018d1bd36f
commit 6b3e0b5f9b
4 changed files with 44 additions and 1 deletions
+10 -1
View File
@@ -578,9 +578,18 @@ Hello</br>
PAUSED</br>
Hello3</br>
# ThreadedUpdater
```lua
-- Works the same as a regular updater!
require("multi.all")
multi:newThreadedUpdater("Test",10000):OnUpdate(function(self)
print(self.pos)
end)
multi:mainloop()
```
# TODO (In order of importance)
- Write the wiki stuff</br>
- Write multi:newThreadedUpdater(name,skip)</br>
- Test for unknown bugs</br>
**Don't find these useful tbh, I will document them eventually though**
- Document Triggers</br>