Skip to content

task

luau
local task = require("@lute/task")

defer

luau
() -> ()

resume

luau
(thread: thread) -> ()

spawn

luau
(routine: ((T...) -> U...) | thread, ...: T...) -> ()

wait

luau
(dur: (number | time.Duration)?) -> ()