Fixed typo
This commit is contained in:
parent
d3d53599f7
commit
197b418fc5
@ -121,7 +121,7 @@ Changed:
|
||||
---
|
||||
|
||||
- `f = thread:newFunction(func,holdme)`
|
||||
- Nothing changed that will affect how the object functions defaulty. The returned function is now a table that is callable and 2 new methods have been added:
|
||||
- Nothing changed that will affect how the object functions by default. The returned function is now a table that is callable and 2 new methods have been added:
|
||||
|
||||
Method | Description
|
||||
---|---
|
||||
|
||||
6
test.lua
6
test.lua
@ -14,10 +14,10 @@ end)
|
||||
|
||||
multi:newThread("test",function()
|
||||
local ret = func()
|
||||
ret.OnStatus(function(test)
|
||||
print(test)
|
||||
ret.OnStatus(function(part,whole)
|
||||
print(math.ceil((part/whole)*1000)/10)
|
||||
end)
|
||||
thread.hold(ret.connect())
|
||||
thread.hold(ret.OnReturn)
|
||||
print("Function Done!")
|
||||
os.exit()
|
||||
end)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user