# Interface ExecutorFunction

public interface ExecutorFunction
Promise API function `com.codename1.util.promise.Promise`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `call(Functor resolutionFunc, Functor rejectionFunc)`
  Calls the function.

- ## Method Details

  - ### call

    void call(Functor resolutionFunc, Functor rejectionFunc)

    Calls the function.

    ###### Parameters

    - `resolutionFunc`: Callback function to be called on resolution.

    - `rejectionFunc`: Callback function to be called on rejection.