Skip to main content

lua_coroutine

Function lua_coroutine 

Source
pub fn lua_coroutine(first: Vec<Ref>, second: Vec<Ref>) -> Coroutine
Expand description

Builds a Lua coroutine that alternates between two ref lanes.

Lowers Lua coroutines onto the control organ’s Coroutine rather than defining bespoke coroutine semantics.