public class Async extends Completion<Void>
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Async> |
__TYPE_ARG |
__typeArg_0
Constructor and Description |
---|
Async(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) |
Async |
getDelegate() |
Maybe<Void> |
handler()
Completion handler to receive a completion signal when this completions completes.
|
int |
hashCode() |
static Async |
newInstance(Async arg) |
void |
resolve(Promise<Void> future)
Completes the future upon completion, otherwise fails it.
|
Maybe<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 io.vertx.lang.rx.TypeArg<Async> __TYPE_ARG
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 Async getDelegate()
getDelegate
in class Completion<Void>
public void resolve(Promise<Void> future)
resolve
in class Completion<Void>
future
- the future to resolvepublic Maybe<Void> handler()
handler
in class Completion<Void>
public 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.Copyright © 2023 Eclipse. All rights reserved.