| Package | Description |
|---|---|
| com.codename1.util.promise |
| Modifier and Type | Method and Description |
|---|---|
Promise |
Promise.always(Functor handlerFunc)
Implementation of Promise.finally().
|
void |
ExecutorFunction.call(Functor resolutionFunc,
Functor rejectionFunc)
Calls the function.
|
void |
ExecutorFunction.call(Functor resolutionFunc,
Functor rejectionFunc)
Calls the function.
|
Promise |
Promise.except(Functor<Throwable,?> rejectionFunc)
Implementation of Promise.catch().
|
Promise |
Promise.then(Functor<T,?> resolutionFunc) |
Promise |
Promise.then(Functor<T,?> resolutionFunc,
Functor<Throwable,?> rejectionFunc)
The then() method returns a Promise.
|
Promise |
Promise.then(Functor<T,?> resolutionFunc,
Functor<Throwable,?> rejectionFunc)
The then() method returns a Promise.
|
Copyright © 2021. All rights reserved.