diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-11 09:47:01 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-11 09:47:01 +0800 |
commit | 0c1d4ff0f246c326e036e385a8cfe21c093bcb3b (patch) | |
tree | 7b720858e7532f1642c5390614d5b224e0f3cb6f /server/locale/zh-CN | |
parent | b8d7a32c9dcb270275be6fd1c1d5867787e84e34 (diff) | |
download | lua-language-server-0c1d4ff0f246c326e036e385a8cfe21c093bcb3b.zip |
更新 coroutine.isyieldable
Diffstat (limited to 'server/locale/zh-CN')
-rw-r--r-- | server/locale/zh-CN/libs/@lua/coroutine.lni | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/locale/zh-CN/libs/@lua/coroutine.lni b/server/locale/zh-CN/libs/@lua/coroutine.lni index f2912c70..f3d05ea1 100644 --- a/server/locale/zh-CN/libs/@lua/coroutine.lni +++ b/server/locale/zh-CN/libs/@lua/coroutine.lni @@ -4,6 +4,9 @@ description = '创建一个主体函数为 `f` 的新协程。' [isyieldable] description = '如果正在运行的协程可以让出,则返回真。' +['isyieldable Lua 5.4'] +description = '如果协程 `co` 可以让出,则返回真。`co` 默认为正在运行的协程。' + [kill] description = '杀死协程 `co`,关闭它所有等待 *to-be-closed* 的变量,并将协程状态设为 `dead` 。' |