For Agents | Documentation index: https://create.roblox.com/docs/llms.txt | Engine API index: https://create.roblox.com/docs/reference/engine/llms.txt
學習
資料庫
/
coroutine
中文(繁體)
回饋
引擎資料庫
coroutine
*
此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下
這裡
。
概要
函式
close
(
co:
coroutine
)
:
boolean
,
Variant
<
string
,
()
>
create
(
f:
function
)
:
coroutine
finally
(
co:
coroutine
,
callback:
Variant
)
isyieldable
()
:
boolean
resume
(
co:
coroutine
,
...:
Variant
)
:
boolean
,
Variant
<
Tuple
,
string
>
running
()
:
coroutine
status
(
co:
coroutine
)
:
string
wrap
(
f:
function
)
:
function
yield
(
...:
Tuple
)
:
Tuple
<
Variant
>
API 參考
函式
close
coroutine.close
(
co
:
coroutine
)
:
boolean
,
Variant
<
string
,
()
>
參數
co
:
coroutine
返回
boolean
,
Variant
<
string
,
()
>
提供回饋
create
coroutine.create
(
f
:
function
)
:
coroutine
參數
f
:
function
返回
coroutine
提供回饋
finally
coroutine.finally
(
co
:
coroutine
,
callback
:
Variant
)
參數
co
:
coroutine
callback
:
Variant
提供回饋
isyieldable
coroutine.isyieldable
(
)
:
boolean
返回
boolean
提供回饋
resume
coroutine.resume
(
co
:
coroutine
,
...
:
Variant
)
:
boolean
,
Variant
<
Tuple
,
string
>
參數
co
:
coroutine
...
:
Variant
返回
boolean
,
Variant
<
Tuple
,
string
>
提供回饋
running
coroutine.running
(
)
:
coroutine
返回
coroutine
提供回饋
status
coroutine.status
(
co
:
coroutine
)
:
string
參數
co
:
coroutine
返回
string
提供回饋
wrap
coroutine.wrap
(
f
:
function
)
:
function
參數
f
:
function
返回
function
提供回饋
yield
coroutine.yield
(
...
:
Tuple
)
:
Tuple
<
Variant
>
參數
...
:
Tuple
返回
Tuple
<
Variant
>
提供回饋
跳至
▼
coroutine
概要
函式
函式
close()
create()
finally()
isyieldable()
resume()
running()
status()
wrap()
yield()
中文(繁體)
回饋
©2026 Roblox Corporation、Roblox、Roblox 標誌及 Powering Imagination 是我們在美國及其他國家地區的部分註冊與未註冊商標。
條款
·
隱私權
·
無障礙功能
·
支援
中文(繁體)