Difference between revisions of "Parallel (API)"
From ComputerCraft Wiki
(use API table template) |
MKlegoman357 (Talk | contribs) (Added {{NeedsWork}} Tag) |
||
Line 1: | Line 1: | ||
+ | {{NeedsWork|This API needs explanation and examples. [[User:MKlegoman357|MKlegoman357]] 20:41, 6 April 2014 (GMT)}} | ||
Parallel is an API which allows you to multitask. | Parallel is an API which allows you to multitask. |
Revision as of 20:41, 6 April 2014
This page needs some serious TLC, stat! Please help us by cleaning it, fixing it up, or sparing it some love.
(Reason: This API needs explanation and examples. MKlegoman357 20:41, 6 April 2014 (GMT)) |
Parallel is an API which allows you to multitask.
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. |