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/en-US/libs/@lua | |
parent | b8d7a32c9dcb270275be6fd1c1d5867787e84e34 (diff) | |
download | lua-language-server-0c1d4ff0f246c326e036e385a8cfe21c093bcb3b.zip |
更新 coroutine.isyieldable
Diffstat (limited to 'server/locale/en-US/libs/@lua')
-rw-r--r-- | server/locale/en-US/libs/@lua/coroutine.lni | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/locale/en-US/libs/@lua/coroutine.lni b/server/locale/en-US/libs/@lua/coroutine.lni index 3859ad4e..ed365fe4 100644 --- a/server/locale/en-US/libs/@lua/coroutine.lni +++ b/server/locale/en-US/libs/@lua/coroutine.lni @@ -4,6 +4,9 @@ description = 'Creates a new coroutine.' [isyieldable] description = 'Returns true when the running coroutine can yield.' +['isyieldable Lua 5.4'] +description = 'Returns true when the coroutine `co` can yield. The default for `co` is the running coroutine.' + [kill] description = 'Kills coroutine `co` , closing all its pending to-be-closed variables and putting the coroutine in a dead state.' |