public static void waitFinished ( Collection < ? extends Task < ? , ? > > tasks ) throws Exception { for ( Task < ? , ? > t : tasks ) { t . getOutput ( ) . blockThrow ( 0 ) ; } }
Wait for the given tasks to be done .