Package | Description |
---|---|
org.osgi.util.promise |
Promise Package Version 1.0.
|
Modifier and Type | Method and 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.
|
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0