Resume CoroutineLuau✎
Runs a coroutine until it yields or finishes. Returns whether it survived — an error inside comes back as false rather than being raised here. **Only the first return value is captured**; for the rest, use Custom Code.
Pending review
- the language itself, so it works in Roblox and in Lune
- latent — it yields, and is never inlined
- takes 0 to 8 inputs, set per node
- names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals
Inputs
- in:execution
- Thread:threadmust be wired
Outputs
- then:execution
- Succeeded:any
What it compiles to
luau
coroutine.resume(thread)
Not reviewed yet