| Package | Description |
|---|---|
| org.osgi.util.promise |
Promise Package Version 1.0.
|
| Modifier and Type | Method | Description |
|---|---|---|
<R> Promise<R> |
Promise.flatMap(Function<? super T,Promise<? extends R>> mapper) |
FlatMap the value of this Promise.
|
<R> Promise<R> |
Promise.map(Function<? super T,? extends R> mapper) |
Map the value of this Promise.
|
Promise<T> |
Promise.recover(Function<Promise<?>,? extends T> recovery) |
Recover from a failure of this Promise with a recovery value.
|
Promise<T> |
Promise.recoverWith(Function<Promise<?>,Promise<? extends T>> recovery) |
Recover from a failure of this Promise with a recovery Promise.
|