code: @Contract(pure = true)
  	@NotNull
  	public static Promise<Void> all(@NotNull Promise<?> promise1, @NotNull Promise<?> promise2) {
  		return promise1.both(promise2);
  	}
docs: Optimized for 2 promises.
  
  @see Promises#all(List)