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 © 2021 OSGi Alliance. All rights reserved.