new Async()
An asynchronous exit point for a test.
- Source:
Methods
-
complete()
-
Signals the asynchronous operation is done, this method must be called with a count greater than
0
, otherwise it throw anIllegalStateException
to signal the error.- Source:
-
count() → {number}
-
- Source:
Returns:
-
the current count
-
- Type
- number
-
countDown()
-
Count down the async.
- Source: