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.