io.vertx.ext.unit.Async.resolve()方法的使用及代码示例

x33g5p2x  于2022-01-15 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(96)

本文整理了Java中io.vertx.ext.unit.Async.resolve()方法的一些代码示例,展示了Async.resolve()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Async.resolve()方法的具体详情如下:
包路径:io.vertx.ext.unit.Async
类名称:Async
方法名:resolve

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);

相关文章