V16.1.0 #69
12
README.md
12
README.md
@ -1,19 +1,13 @@
|
|||||||
# Multi Version: 16.0.0 - Connecting the dots
|
# Multi Version: 16.1.0 -
|
||||||
**Key Changes**
|
**Key Changes**
|
||||||
- Expanded connection logic
|
-
|
||||||
- New integration priorityManager
|
|
||||||
- Tests for threads
|
|
||||||
- Consistent behavior between the threading integrations
|
|
||||||
- Improved love2d threading
|
|
||||||
- Bug fixes
|
|
||||||
|
|
||||||
Found an issue? Please [submit it](https://github.com/rayaman/multi/issues) and someone will look into it!
|
Found an issue? Please [submit it](https://github.com/rayaman/multi/issues) and someone will look into it!
|
||||||
|
|
||||||
My multitasking library for lua. It is a pure lua binding, with exceptions of the integrations.
|
My multitasking library for lua. It is a pure lua binding, with exceptions of the integrations.
|
||||||
|
|
||||||
</br>
|
</br>
|
||||||
|
|
||||||
Progress is being made in [v16.0.0](https://github.com/rayaman/multi/tree/v16.0.0)
|
Progress is being made in [v16.1.0](https://github.com/rayaman/multi/tree/v16.1.0)
|
||||||
---
|
---
|
||||||
|
|
||||||
</br>
|
</br>
|
||||||
|
|||||||
8
init.lua
8
init.lua
@ -95,7 +95,7 @@ multi.Children = {}
|
|||||||
multi.Active = true
|
multi.Active = true
|
||||||
multi.Type = multi.registerType("rootprocess")
|
multi.Type = multi.registerType("rootprocess")
|
||||||
multi.LinkedPath = multi
|
multi.LinkedPath = multi
|
||||||
multi.TIMEOUT = "TIMEOUT"
|
multi.TIMEOUT = multi.registerType("TIMEOUT", "timeouts")
|
||||||
multi.TID = 0
|
multi.TID = 0
|
||||||
multi.defaultSettings = {}
|
multi.defaultSettings = {}
|
||||||
|
|
||||||
@ -702,6 +702,12 @@ function multi:newBase(ins)
|
|||||||
return c
|
return c
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function multi:newTimeout(timeout)
|
||||||
|
local c={}
|
||||||
|
c.Type = multi.registerType(multi.TIMEOUT, "timeouts")
|
||||||
|
return function(self) self:Destroy() return c end % self:newAlarm(timeout).OnRing
|
||||||
|
end
|
||||||
|
|
||||||
function multi:newTimer()
|
function multi:newTimer()
|
||||||
local c={}
|
local c={}
|
||||||
c.Type=multi.registerType("timer", "timers")
|
c.Type=multi.registerType("timer", "timers")
|
||||||
|
|||||||
1
integration/stateManager/init.lua
Normal file
1
integration/stateManager/init.lua
Normal file
@ -0,0 +1 @@
|
|||||||
|
-- Allows the creation of states
|
||||||
Loading…
x
Reference in New Issue
Block a user