Fixed typo

This commit is contained in:
Ryan Ward 2021-10-10 09:12:42 -04:00
parent d3d53599f7
commit 197b418fc5
2 changed files with 4 additions and 4 deletions

View File

@ -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
---|---

View File

@ -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)