Parallel (API)
From ComputerCraft Wiki
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.