API Docs for: 1.0.0
Show:

LinkablePromise Class

Constructor

LinkablePromise

(
  • A
  • A
  • UNKNOWN
)

Parameters:

  • A Function

    function to invoke, which must take zero parameters and may return an AsyncToken.

  • A Object

    description of the task as a String, or a function to call which returns a descriptive string.

  • UNKNOWN Boolean

Item Index

Methods

Properties

Methods

depend

(
  • dependencies
)

Registers dependencies of the LinkablePromise.

Parameters:

  • dependencies Array

    Array 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.