Difference between revisions of "Parallel (API)"

From ComputerCraft Wiki
Jump to: navigation, search
Line 4: Line 4:
 
!style="background:#EEE" width="*"|Description
 
!style="background:#EEE" width="*"|Description
 
|-
 
|-
|parallel.waitForAny( function1, function2, so on)
+
|[[parallel.waitForAny]]( function1, function2, so on)
 
|Waits for any function to complete.
 
|Waits for any function to complete.
 
|-
 
|-
|parallel.waitForAll( function1, function2, so on)
+
|[[parallel.waitForAll]]( function1, function2, so on)
 
|Waits for all of the functions to complete.
 
|Waits for all of the functions to complete.
 
|}
 
|}
 
[[Category:APIs]]
 
[[Category:APIs]]

Revision as of 16:03, 7 July 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.