summaryrefslogtreecommitdiff
path: root/meta/template
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-08 16:55:44 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-08 16:55:44 +0800
commitae8ce1e4d975d6aefc947a008ed8a82eec1312d3 (patch)
tree607249c561690e82f2dd0db01121472e957aa452 /meta/template
parent96946f4022a45519fa4e512c652d322cf8232a73 (diff)
downloadlua-language-server-ae8ce1e4d975d6aefc947a008ed8a82eec1312d3.zip
cleanup
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