Package | Description |
---|---|
org.osgi.util.promise |
Promise Package Version 1.1.
|
Modifier and Type | Method and Description |
---|---|
<R> Promise<R> |
Promise.then(Success<? super T,? extends R> success)
Chain a new Promise to this Promise with a Success callback.
|
<R> Promise<R> |
Promise.then(Success<? super T,? extends R> success,
Failure failure)
Chain a new Promise to this Promise with Success and Failure callbacks.
|
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0