vertx / io.vertx.rxjava.core / CompositeFuture / all

# all

`open static fun <T1 : Any, T2 : Any> all(f1: Future<T1>, f2: Future<T2>): CompositeFuture`

Return a composite future, succeeded when all futures are succeeded, failed when any future is failed. The returned future fails as soon as one of `f1` or `f2` fails.

### Parameters

`f1` - future

`f2` - future

Return
the composite future

`open static fun <T1 : Any, T2 : Any, T3 : Any> all(f1: Future<T1>, f2: Future<T2>, f3: Future<T3>): CompositeFuture`

Like `io.vertx.rxjava.core.CompositeFuture#all` but with 3 futures.

### Parameters

`f1` -

`f2` -

`f3` -

Return

`open static fun <T1 : Any, T2 : Any, T3 : Any, T4 : Any> all(f1: Future<T1>, f2: Future<T2>, f3: Future<T3>, f4: Future<T4>): CompositeFuture`

Like `io.vertx.rxjava.core.CompositeFuture#all` but with 4 futures.

### Parameters

`f1` -

`f2` -

`f3` -

`f4` -

Return

`open static fun <T1 : Any, T2 : Any, T3 : Any, T4 : Any, T5 : Any> all(f1: Future<T1>, f2: Future<T2>, f3: Future<T3>, f4: Future<T4>, f5: Future<T5>): CompositeFuture`

Like `io.vertx.rxjava.core.CompositeFuture#all` but with 5 futures.

### Parameters

`f1` -

`f2` -

`f3` -

`f4` -

`f5` -

Return

`open static fun <T1 : Any, T2 : Any, T3 : Any, T4 : Any, T5 : Any, T6 : Any> all(f1: Future<T1>, f2: Future<T2>, f3: Future<T3>, f4: Future<T4>, f5: Future<T5>, f6: Future<T6>): CompositeFuture`

Like `io.vertx.rxjava.core.CompositeFuture#all` but with 6 futures.

### Parameters

`f1` -

`f2` -

`f3` -

`f4` -

`f5` -

`f6` -

Return

`open static fun all(futures: MutableList<Future<Any>>): CompositeFuture`

Like `io.vertx.rxjava.core.CompositeFuture#all` but with a list of futures.

When the list is empty, the returned future will be already completed.

### Parameters

`futures` -

Return