WaitForAnyJobs instructs a main process to wait for any processes that have been asynchronously executed to complete before continuing the main process.
In the video, WaitForAnyJobs is used to wait for one of the two processes to complete before continuing to the next line.
TurboIntegrator
Version 12
WaitForAnyJobs(ID1, ID2, etc.)