code: public static <T> Iterator<Promise<T>> asPromises(@NotNull Stream<? extends AsyncSupplier<? extends T>> tasks) {
  		return asPromises(tasks.iterator());
  	}
docs: Transforms a {@link Stream} of {@link AsyncSupplier}
  {@code tasks} to a collection of {@code Promise}s.