Parallel (API)

From ComputerCraft Wiki
Revision as of 21:50, 14 September 2013 by Immibis (Talk | contribs) (use API table template)

Jump to: navigation, search

Parallel is an API which allows you to multitask.

Grid disk.png  Parallel (API)
Function Return values Description
parallel.waitForAny(function1, function2, ...) nil Runs all the functions at the same time, and stops when any of them returns.
parallel.waitForAll(function1, function2, ...) nil Runs all the functions at the same time, and stops when all of them have returned.