From 0c1d4ff0f246c326e036e385a8cfe21c093bcb3b Mon Sep 17 00:00:00 2001 From: sumneko Date: Thu, 11 Apr 2019 09:47:01 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0=20coroutine.isyieldable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/locale/zh-CN/libs/@lua/coroutine.lni | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/locale/zh-CN') 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` 。' -- cgit v1.2.3