| Package | org.spicefactory.lib.task.util |
| Class | public class Delegate |
| Inheritance | Delegate Object |
| Method | Defined By | ||
|---|---|---|---|
Delegate(method:Function, params:Array = null)
Creates a new Delegate for deferred execution. | Delegate | ||
invoke():*
Invokes the Delegate. | Delegate | ||
| Delegate | () | Constructor |
public function Delegate(method:Function, params:Array = null)Creates a new Delegate for deferred execution.
Parametersmethod:Function — the method to execute
| |
params:Array (default = null) — the parameters to pass to the method
|
| invoke | () | method |
public function invoke():*Invokes the Delegate.
Returns* — the return value of the executed method
|