本文整理了Java中io.vertx.ext.unit.Async.resolve()
方法的一些代码示例,展示了Async.resolve()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Async.resolve()
方法的具体详情如下:
包路径:io.vertx.ext.unit.Async
类名称:Async
方法名:resolve
暂无
代码示例来源:origin: io.vertx/vertx-rx-java
/**
* Completes the future upon completion, otherwise fails it.
* @param future the future to resolve
*/
public void resolve(io.vertx.rxjava.core.Future<Void> future) {
delegate.resolve(future.getDelegate());
}
代码示例来源:origin: vert-x3/vertx-rx
/**
* Completes the future upon completion, otherwise fails it.
* @param future the future to resolve
*/
public void resolve(io.vertx.rxjava.core.Future<Void> future) {
delegate.resolve(future.getDelegate());
}
代码示例来源:origin: io.vertx/vertx-unit
assertFalse(reporter.completed());
Future<Void> fut = Future.future();
async.resolve(fut);
countDownAsync.accept(async);
assertFalse(fut.isComplete());
代码示例来源:origin: io.vertx/vertx-unit
assertFalse(reporter.completed());
Future<Void> fut = Future.future();
async.resolve(fut);
assertEquals(3, async.count());
countDownAsync.accept(async);
内容来源于网络,如有侵权,请联系作者删除!