public interface Async extends Completion<Void>
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.
|
await, await, awaitSuccess, awaitSuccess, handler, isCompleted, isFailed, isSucceeded, resolve
int count()
void countDown()
IllegalStateException
- in strict mode if invoked more than the initial countvoid complete()
0
,
otherwise it throws an IllegalStateException
to signal the error.Copyright © 2024 Eclipse. All rights reserved.