In my initialization routine I want to set off a bunch of startup "tasks" using the parallel coroutine mechanism. Then I can go away and do other stuff on the UI thread. Great.
But, once I'm done with this "other stuff" I mustn't continue with the app until the parallel tasks are completed. How should I wait (that is, block) at that point?
In case you're wondering, the rough working example is loading a bunch of reference data into the EM. I don't want to query the data in the app until I know its been loaded. So the plan is to block until it is, having fired off all of the startup tasks and performed other sundry setup (not all of which involving DevForce).