code: @SuppressWarnings("unchecked")
  	@NotNull
  	public static <T> Iterator<Promise<T>> asPromises(@NotNull Iterator<? extends AsyncSupplier<? extends T>> tasks) {
  		return transformIterator((Iterator<AsyncSupplier<T>>) tasks, AsyncSupplier::get);
  	}
docs: Transforms a collection of {@link AsyncSupplier}
  {@code tasks} to a collection of {@code Promise}s.