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.3,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.util.promise; version="[1.3,1.4)"
| Modifier and Type | Interface and Description |
|---|---|
| public interface | Failure
Failure callback for a Promise. |
| public interface | |
| public interface | Success<
The value type of the resolved Promise passed as input to this
callback. T, The value type of the returned Promise from this callback. R>Success callback for a Promise. |
| Modifier and Type | Class and Description |
|---|---|
| public class | |
| pack-priv class | |
| pack-priv class | |
| public class | FailedPromisesException
Promise failure exception for a collection of failed Promises. |
| public class | PromiseFactory
Promise factory to create Deferred and Promise objects. |
| pack-priv abstract class | |
| public class | |
| pack-priv class | |
| public class | TimeoutException
Timeout exception for a Promise. |