/** * await until all futures are settled and stream their results */ public static <T> Stream<T> awaitAll(long timeoutMS, IPromise<T>... futures) { return streamHelper(all(futures).await(timeoutMS)); }
/** * await until all futures are settled and stream their results. Uses Actors.DEFAULT_TIMEOUT */ public static <T> Stream<T> awaitAll(IPromise<T>... futures) { return streamHelper(all(futures).await()); }
/** * await until all futures are settled and stream their results */ public static <T> Stream<T> awaitAll(long timeoutMS, IPromise<T>... futures) { return streamHelper(all(futures).await(timeoutMS)); }
/** * await until all futures are settled and stream their results. Uses Actors.DEFAULT_TIMEOUT */ public static <T> Stream<T> awaitAll(IPromise<T>... futures) { return streamHelper(all(futures).await()); }
public static <T> Stream<T> awaitAll(List<IPromise<T>> futures) { return streamHelper(all(futures).await()); }
public static <T> Stream<T> awaitAll(long timeoutMS, List<IPromise<T>> futures) { return streamHelper(all(futures).await(timeoutMS)); }
public static <T> Stream<T> awaitAll(long timeoutMS, List<IPromise<T>> futures) { return streamHelper(all(futures).await(timeoutMS)); }
public static <T> Stream<T> awaitAll(List<IPromise<T>> futures) { return streamHelper(all(futures).await()); }