List of usage examples for io.vertx.core AsyncResult map
default <V> AsyncResult<V> map(V value)
When this async result succeeds, this value will succeeed the async result returned by this method call.
When this async result fails, the failure will be propagated to the returned async result.
From source file:io.reactiverse.pgclient.impl.PgResultBuilder.java
License:Apache License
@Override public void handle(AsyncResult<Boolean> res) { suspended = res.succeeded() && res.result(); handler.handle((AsyncResult<L>) res.map(first)); }