Interface | Description |
---|---|
Failure |
Failure callback for a Promise.
|
Promise<T> |
A Promise of a value.
|
Success<T,R> |
Success callback for a Promise.
|
Class | Description |
---|---|
Deferred<T> |
A Deferred Promise resolution.
|
Promises |
Static helper methods for
Promise s. |
Exception | Description |
---|---|
FailedPromisesException |
Promise failure exception for a collection of failed Promises.
|
Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest.
Example import for consumers using the API in this package:
Import-Package: org.osgi.util.promise; version="[1.0,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.util.promise; version="[1.0,1.1)"
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0