public class TestCompletion extends Completion<Void>
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<TestCompletion> |
__TYPE_ARG |
__typeArg_0
Constructor and Description |
---|
TestCompletion(Object delegate) |
TestCompletion(io.vertx.ext.unit.TestCompletion delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
io.vertx.ext.unit.TestCompletion |
getDelegate() |
void |
handler()
Completion handler to receive a completion signal when this completions completes.
|
void |
handler(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Completion handler to receive a completion signal when this completions completes.
|
int |
hashCode() |
static TestCompletion |
newInstance(io.vertx.ext.unit.TestCompletion arg) |
void |
resolve(Promise<Void> future)
Completes the future upon completion, otherwise fails it.
|
rx.Single<Void> |
rxHandler()
Completion handler to receive a completion signal when this completions completes.
|
String |
toString() |
await, await, awaitSuccess, awaitSuccess, isCompleted, isFailed, isSucceeded, newInstance, newInstance
public static final TypeArg<TestCompletion> __TYPE_ARG
public TestCompletion(io.vertx.ext.unit.TestCompletion delegate)
public TestCompletion(Object delegate)
public String toString()
toString
in class Completion<Void>
public boolean equals(Object o)
equals
in class Completion<Void>
public int hashCode()
hashCode
in class Completion<Void>
public io.vertx.ext.unit.TestCompletion getDelegate()
getDelegate
in class Completion<Void>
public void resolve(Promise<Void> future)
resolve
in class Completion<Void>
future
- the future to resolvepublic void handler(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
handler
in class Completion<Void>
completionHandler
- the completion handlerpublic void handler()
handler
in class Completion<Void>
public rx.Single<Void> rxHandler()
rxHandler
in class Completion<Void>
public static TestCompletion newInstance(io.vertx.ext.unit.TestCompletion arg)
Copyright © 2021 Eclipse. All rights reserved.