coroutine.yield
From ComputerCraft
Jump to: navigation, search
coroutine.yield Function | |
---|---|
Syntax coroutine.yield(
| |
Returns | {...} |
API | coroutine |
Source | CC:Tweaked |
Takes arguments {...} and makes the coroutine.resume call executing the coroutine calling this to return them (usually, this is just a single string acting as a filter for the type of event desired). Usually you should use os.pullEvent and os.pullEventRaw instead.