LinkablePromise Class
Constructor
LinkablePromise
(
-
A -
A -
UNKNOWN
Parameters:
-
AFunctionfunction to invoke, which must take zero parameters and may return an AsyncToken.
-
AObjectdescription of the task as a String, or a function to call which returns a descriptive string.
-
UNKNOWNBoolean
Methods
depend
(
-
dependencies
Registers dependencies of the LinkablePromise.
Parameters:
-
dependenciesArrayArray of dependencies, Taken form JS Arguments Parameter
Properties
error
Object
public
The error that occurred calling the invoke function. When this value is accessed, validate() will be called.
result
Object
public
The result of calling the invoke function. When this value is accessed, validate() will be called.
