package lua
import lua.Coroutine
Available on luaA enumerator that describes the output of
Coroutine.status()
.
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.
static inline read only Dead:CoroutineState = "dead"
If the coroutine has finished its body function or if it has stopped with an error.
static inline read only Normal:CoroutineState = "normal"
If the coroutine is active but not running. That is, it has resumed another coroutine.
static inline read only Running:CoroutineState = "running"
If the coroutine is running.
static 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–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/lua/CoroutineState.html