diff --git a/async.lua b/async.lua index c350dae..ec3d0ac 100644 --- a/async.lua +++ b/async.lua @@ -138,4 +138,9 @@ function async:add_interval(f, delay) end) end +function async.stall() + return coroutine.yield("stall") +end + + return async