vertx / io.vertx.rxjava.ext.unit / TestContext / async

# async

`open fun async(): Async`

Create and returns a new async object, the returned async controls the completion of the test. Calling the `io.vertx.rxjava.ext.unit.Async#complete` completes the async operation. The test case will complete when all the async objects have their `io.vertx.rxjava.ext.unit.Async#complete` method called at least once. This method shall be used for creating asynchronous exit points for the executed test.

Return
the async instance

`open fun async(count: Int): Async`

Create and returns a new async object, the returned async controls the completion of the test. This async operation completes when the `io.vertx.rxjava.ext.unit.Async#complete` is called `count` times. The test case will complete when all the async objects have their `io.vertx.rxjava.ext.unit.Async#complete` method called at least once. This method shall be used for creating asynchronous exit points for the executed test.

### Parameters

`count` -

Return
the async instance