public class Async extends Completion<Void>
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static TypeArg<Async> |
__TYPE_ARG |
__typeArg_0| Constructor and Description |
|---|
Async(io.vertx.ext.unit.Async delegate) |
Async(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete()
Signals the asynchronous operation is done, this method must be called with a count greater than
0,
otherwise it throws an IllegalStateException to signal the error. |
int |
count() |
void |
countDown()
Count down the async.
|
boolean |
equals(Object o) |
io.vertx.ext.unit.Async |
getDelegate() |
io.reactivex.rxjava3.core.Maybe<Void> |
handler()
Completion handler to receive a completion signal when this completions completes.
|
int |
hashCode() |
static Async |
newInstance(io.vertx.ext.unit.Async arg) |
void |
resolve(Promise<Void> future)
Completes the future upon completion, otherwise fails it.
|
io.reactivex.rxjava3.core.Maybe<Void> |
rxHandler()
Completion handler to receive a completion signal when this completions completes.
|
String |
toString() |
await, await, awaitSuccess, awaitSuccess, isCompleted, isFailed, isSucceeded, newInstance, newInstancepublic Async(io.vertx.ext.unit.Async delegate)
public Async(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.Async getDelegate()
getDelegate in class Completion<Void>public void resolve(Promise<Void> future)
resolve in class Completion<Void>future - the future to resolvepublic io.reactivex.rxjava3.core.Maybe<Void> handler()
handler in class Completion<Void>public io.reactivex.rxjava3.core.Maybe<Void> rxHandler()
rxHandler in class Completion<Void>public int count()
public void countDown()
public void complete()
0,
otherwise it throws an IllegalStateException to signal the error.public static Async newInstance(io.vertx.ext.unit.Async arg)
Copyright © 2022 Eclipse. All rights reserved.