open class Completion<T : Any>
A completion object that emits completion notifications either succeeded or failed. NOTE: This class has been automatically generated from the io.vertx.ext.unit.Completion non RX-ified interface using Vert.x codegen.
Completion(delegate: Completion<Any>)Completion(delegate: Completion<Any>, typeArg_0: TypeArg<T>) |
static val __TYPE_ARG: TypeArg<Completion<Any>> |
|
val __typeArg_0: TypeArg<T> |
open fun await(): Unit
Cause the current thread to wait until this completion completes. If the current thread is interrupted, an exception will be thrown. open fun await(timeoutMillis: Long): Unit
Cause the current thread to wait until this completion completes with a configurable timeout. If completion times out or the current thread is interrupted, an exception will be thrown. |
|
open fun awaitSuccess(): Unit
Cause the current thread to wait until this completion completes and succeeds. If the current thread is interrupted or the suite fails, an exception will be thrown. open fun awaitSuccess(timeoutMillis: Long): Unit
Cause the current thread to wait until this completion completes and succeeds with a configurable timeout. If completion times out or the current thread is interrupted or the suite fails, an exception will be thrown. |
|
open fun equals(other: Any?): Boolean |
|
open fun getDelegate(): Completion<Any> |
|
open fun handler(completionHandler: Handler<AsyncResult<T>>): Unit
Completion handler to receive a completion signal when this completions completes. |
|
open fun hashCode(): Int |
|
open fun isCompleted(): Boolean |
|
open fun isFailed(): Boolean |
|
open fun isSucceeded(): Boolean |
|
open static fun <T : Any> newInstance(arg: Completion<Any>): Completion<T>open static fun <T : Any> newInstance(arg: Completion<Any>, __typeArg_T: TypeArg<T>): Completion<T> |
|
open fun resolve(future: Future<T>): Unit
Completes the future upon completion, otherwise fails it. |
|
open fun rxHandler(): Maybe<T>
Completion handler to receive a completion signal when this completions completes. |
|
open fun toString(): String |
open class Async : Completion<Void>
An asynchronous exit point for a test. NOTE: This class has been automatically generated from the io.vertx.ext.unit.Async non RX-ified interface using Vert.x codegen. |
|
open class TestCompletion : Completion<Void>
This object provides callback-ability for the end of a test suite, the completion succeeds when all tests pass otherwise it fails. NOTE: This class has been automatically generated from the io.vertx.ext.unit.TestCompletion non RX-ified interface using Vert.x codegen. |