public interface ExecutorFunction

Promise API function com.codename1.util.promise.Promise

Methods

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

resolutionFunc Functor
Callback function to be called on resolution.
rejectionFunc Functor
Callback function to be called on rejection.