CoroutineState

CoroutineState(String)

package lua

import lua.Coroutine

Available on lua

A enumerator that describes the output of Coroutine.status().

Variables

inline read only Dead:CoroutineState = "dead"

If the coroutine has finished its body function or if it has stopped with an error.

inline read only Normal:CoroutineState = "normal"

If the coroutine is active but not running. That is, it has resumed another coroutine.

inline read only Running:CoroutineState = "running"

If the coroutine is running.

inline read only Suspended:CoroutineState = "suspended"

If the coroutine is suspended in a call to yield, or if it has not started running yet.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/lua/CoroutineState.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部