Difference between revisions of "Parallel (API)"
From ComputerCraft Wiki
(Made page. Randomly guessed on most stuff.) |
|||
Line 3: | Line 3: | ||
* parallel.waitForAny( function1, function2, so on) which will wait for any to complete. | * parallel.waitForAny( function1, function2, so on) which will wait for any to complete. | ||
* parallel.waitForAll( function1, function2, so on) which will wait for all of them to complete. | * parallel.waitForAll( function1, function2, so on) which will wait for all of them to complete. | ||
+ | [[Category:APIs]] |
Revision as of 00:01, 29 January 2012
Parallel is an API which allows you to multitask. Its functions are:
- parallel.waitForAny( function1, function2, so on) which will wait for any to complete.
- parallel.waitForAll( function1, function2, so on) which will wait for all of them to complete.