summaryrefslogtreecommitdiff
path: root/meta/template
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template')
-rw-r--r--meta/template/coroutine.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/template/coroutine.lua b/meta/template/coroutine.lua
index a9dd40cf..390be21b 100644
--- a/meta/template/coroutine.lua
+++ b/meta/template/coroutine.lua
@@ -5,7 +5,7 @@
coroutine = {}
---#DES 'coroutine.create'
----@param f function
+---@param f async fun(...):...
---@return thread
---@nodiscard
function coroutine.create(f) end
@@ -55,7 +55,7 @@ function coroutine.running() end
function coroutine.status(co) end
---#DES 'coroutine.wrap'
----@param f function
+---@param f async fun(...):...
---@return fun(...):...
---@nodiscard
function coroutine.wrap(f) end