Fixed newTask()

This commit is contained in:
2023-11-02 09:31:09 -04:00
parent 9ad2c45b8f
commit 0af807a930
3 changed files with 28 additions and 17 deletions
+2
View File
@@ -523,6 +523,8 @@ Added
Changed
---
- multi:newTask(task) is not tied to the processor it is created on.
- `multi:getTasks()` renamed to `multi:getRunners()`, should help with confusion between multi:newTask()
- changed how multi adds unpack to the global namespace. Instead we capture that value into multi.unpack.
- multi:newUpdater(skip, func) -- Now accepts func as the second argument. So you don't need to call OnUpdate(func) after creation.
- multi errors now internally call `multi.error` instead of `multi.print`