An asynchronous exit point for a test.
| Constructor and description |
|---|
Async
(java.lang.Object delegate) |
| Type | Name and description |
|---|---|
void |
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. |
int |
count()@return the current count |
void |
countDown()Count down the async. |
java.lang.Object |
getDelegate() |
void |
handler(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> completionHandler)Completion handler to receive a completion signal when this completions completes. |
void |
resolve(Future<java.lang.Void> future)Completes the future upon completion, otherwise fails it. |
| Methods inherited from class | Name |
|---|---|
class Completion |
await, await, awaitSuccess, awaitSuccess, getDelegate, handler, isCompleted, isFailed, isSucceeded, resolve |
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.
Count down the async.
Completion handler to receive a completion signal when this completions completes.
completionHandler - the completion handlerCompletes the future upon completion, otherwise fails it.
future - the future to resolve