Difference between revisions of "Parallel (API)"
From ComputerCraft Wiki
Line 1: | Line 1: | ||
Parallel is an API which allows you to multitask. | Parallel is an API which allows you to multitask. | ||
− | + | {| border="1" cellpadding="2" cellspacing="0" | |
− | * parallel.waitForAny( function1, function2, so on) | + | !style="background:#EEE" width="200px"|Method name |
− | + | !style="background:#EEE" width="*"|Description | |
+ | |- | ||
+ | |parallel.waitForAny( function1, function2, so on) | ||
+ | |Waits for any function to complete. | ||
+ | |- | ||
+ | |parallel.waitForAll( function1, function2, so on) | ||
+ | |Waits for all of the functions to complete. | ||
+ | |} | ||
[[Category:APIs]] | [[Category:APIs]] |
Revision as of 05:38, 31 January 2012
Parallel is an API which allows you to multitask.
Method name | Description |
---|---|
parallel.waitForAny( function1, function2, so on) | Waits for any function to complete. |
parallel.waitForAll( function1, function2, so on) | Waits for all of the functions to complete. |