All library functions no longer require self
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
-- include task functions in the global scope
|
||||
local task = require("lb:task")
|
||||
|
||||
function sleep(ms)
|
||||
return task:sleep(ms)
|
||||
end
|
||||
|
||||
function spawn(f, ...)
|
||||
return task:spawn(f, ...)
|
||||
end
|
||||
sleep = task.sleep
|
||||
spawn = task.spawn
|
||||
|
||||
Reference in New Issue
Block a user