public void handle(AsyncResult<io.vertx.core.file.AsyncFile> ar) { if (ar.succeeded()) { handler.handle(io.vertx.core.Future.succeededFuture(io.vertx.rxjava.core.file.AsyncFile.newInstance(ar.result()))); } else { handler.handle(io.vertx.core.Future.failedFuture(ar.cause())); } } });
public void handle(AsyncResult<io.vertx.core.file.AsyncFile> ar) { if (ar.succeeded()) { handler.handle(io.vertx.core.Future.succeededFuture(io.vertx.rxjava.core.file.AsyncFile.newInstance(ar.result()))); } else { handler.handle(io.vertx.core.Future.failedFuture(ar.cause())); } } });
/** * Blocking version of {@link io.vertx.rxjava.core.file.FileSystem#open} * @param path * @param options * @return */ public io.vertx.rxjava.core.file.AsyncFile openBlocking(String path, OpenOptions options) { io.vertx.rxjava.core.file.AsyncFile ret = io.vertx.rxjava.core.file.AsyncFile.newInstance(delegate.openBlocking(path, options)); return ret; }
/** * Blocking version of {@link io.vertx.rxjava.core.file.FileSystem#open} * @param path * @param options * @return */ public io.vertx.rxjava.core.file.AsyncFile openBlocking(String path, OpenOptions options) { io.vertx.rxjava.core.file.AsyncFile ret = io.vertx.rxjava.core.file.AsyncFile.newInstance(delegate.openBlocking(path, options)); return ret; }