# Class: Async

## vertx-unit-js/async~ Async

#### new Async()

An asynchronous exit point for a test.

Source:
  - vertx-unit-js/async.js, line 30

### Methods

#### complete()

Signals the asynchronous operation is done, this method must be called with a count greater than `0`, otherwise it throw an `IllegalStateException` to signal the error.

Source:
  - vertx-unit-js/async.js, line 70

#### count() → {number}

Source:
  - vertx-unit-js/async.js, line 43

##### Returns:

- the current count
- Type
    number

#### countDown()

Count down the async.

Source:
  - vertx-unit-js/async.js, line 56