Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public interface ExecutorFunction
Promise API function
com.codename1.util.promise.PromiseMethods
public abstract void call(Functor resolutionFunc, Functor rejectionFunc) | Calls the function. |
Method details
call
public abstract void call(Functor resolutionFunc, Functor rejectionFunc)Calls the function.
Parameters
resolutionFuncFunctor- Callback function to be called on resolution.
rejectionFuncFunctor- Callback function to be called on rejection.