pub fn co_isyieldable(state: &mut LuaState) -> Result<usize, LuaError>
coroutine.isyieldable([co]) — test whether a coroutine (default: current) is in a yieldable state.
coroutine.isyieldable([co])