Parallel (API)

From ComputerCraft Wiki
Revision as of 20:02, 28 January 2012 by Kaleb702 (Talk | contribs) (Made page. Randomly guessed on most stuff.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.