diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-24 00:50:51 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-24 00:50:51 +0800 |
commit | 179cff25bd6005c3408edc57baa5bb13aec60c29 (patch) | |
tree | c1f21ce1b86cf5d88c082d8a124f5ae0f4f95787 /script-beta/await.lua | |
parent | b522a2d357c35c5b6d4a89625d3cc0f4a98a19a4 (diff) | |
download | lua-language-server-179cff25bd6005c3408edc57baa5bb13aec60c29.zip |
接入文件符号
Diffstat (limited to 'script-beta/await.lua')
-rw-r--r-- | script-beta/await.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/script-beta/await.lua b/script-beta/await.lua index 4b63b8ef..00c2bcd0 100644 --- a/script-beta/await.lua +++ b/script-beta/await.lua @@ -64,14 +64,6 @@ function m.await(callback, ...) end, ...) end ---- 设置一个可继承的关闭器,在设置时,以及创建子协程时会调用 -function m.setCloser(callback, co) - co = co or coroutine.running() - local current = m.coMap[co] - current[callback] = true - callback(co) -end - --- 设置一个id,用于批量关闭任务 function m.setID(id, co) co = co or coroutine.running() |