vertx / io.vertx.rxjava.ext.unit / Completion

# Completion

`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.

### Constructors

<init> | `Completion(delegate: Completion<Any>)` `Completion(delegate: Completion<Any>, typeArg_0: TypeArg<T>)`

### Properties

__TYPE_ARG | `static val __TYPE_ARG: TypeArg<Completion<Any>>`
__typeArg_0 | `val __typeArg_0: TypeArg<T>`

### Functions

await | `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.
awaitSuccess | `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.
equals | `open fun equals(other: Any?): Boolean`
getDelegate | `open fun getDelegate(): Completion<Any>`
handler | `open fun handler(completionHandler: Handler<AsyncResult<T>>): Unit` Completion handler to receive a completion signal when this completions completes.
hashCode | `open fun hashCode(): Int`
isCompleted | `open fun isCompleted(): Boolean`
isFailed | `open fun isFailed(): Boolean`
isSucceeded | `open fun isSucceeded(): Boolean`
newInstance | `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>`
resolve | `open fun resolve(future: Future<T>): Unit` Completes the future upon completion, otherwise fails it.
rxHandler | `open fun rxHandler(): Single<T>` Completion handler to receive a completion signal when this completions completes.
toString | `open fun toString(): String`

### Inheritors

Async | `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.
TestCompletion | `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.