Class: DeployResultLocator

Metadata~DeployResultLocator

(protected) new DeployResultLocator(meta, result)

The locator class to track deploy() Metadata API call result
Parameters:
Name Type Description
meta Metadata Metadata API object
result Promise.<Metadata~AsyncResult> Promise object for async result of deploy() call
Source:

Extends

Methods

check(callbackopt) → {Promise.<(Metadata~AsyncResult|Array.<Metadata~AsyncResult>)>}

Check the status of async request
Parameters:
Name Type Attributes Description
callback Callback.<(Metadata~AsyncResult|Array.<Metadata~AsyncResult>)> <optional>
Callback function
Inherited From:
Source:
Returns:
Type
Promise.<(Metadata~AsyncResult|Array.<Metadata~AsyncResult>)>

complete(callbackopt) → {Promise.<Metadata~DeployResult>}

Check and wait until the async request becomes in completed status, and retrieve the result data.
Parameters:
Name Type Attributes Description
callback Callback.<Metadata~DeployResult> <optional>
Callback function
Overrides:
Source:
Returns:
Type
Promise.<Metadata~DeployResult>

poll(interval, timeout)

Polling until async call status becomes complete or error
Parameters:
Name Type Description
interval Number Polling interval in milliseconds
timeout Number Polling timeout in milliseconds
Inherited From:
Source:

then()

Promise/A+ interface http://promises-aplus.github.io/promises-spec/ Delegate to deferred promise, return promise instance for batch result
Inherited From:
Source:

thenCall()

Promise/A+ extension Call "then" using given node-style callback function
Inherited From:
Source: