code: @SuppressWarnings({ "unchecked", "rawtypes" })
      public static CompletableFuture<Void> allOf(Collection<? extends CompletableFuture<?>> futures) {
  
          LettuceAssert.notNull(futures, "Futures must not be null");
  
          return CompletableFuture.allOf(futures.toArray(new CompletableFuture[0]));
      }
docs: Create a composite {@link CompletableFuture} is composed from the given {@code futures}.
  
  @param futures must not be {@literal null}.
  @return the composed {@link CompletableFuture}.
  @since 5.1.1