Example usage for io.vertx.core CompositeFuture any

List of usage examples for io.vertx.core CompositeFuture any

Introduction

In this page you can find the example usage for io.vertx.core CompositeFuture any.

Prototype

static CompositeFuture any(List<Future> futures) 

Source Link

Document

Like #any(Future,Future) but with a list of futures.

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

Usage

From source file:examples.CoreExamples.java

License:Open Source License

public void exampleFutureAny2(Future f1, Future f2, Future f3) {
    CompositeFuture.any(Arrays.asList(f1, f2, f3));
}