Class: Deferred

Deferred

(protected) new Deferred()

Deferred object
Source:

Methods

reject(error)

Reject promise
Parameters:
Name Type Description
error Error Rejecting reason
Source:

resolve(result)

Resolve promise
Parameters:
Name Type Description
result * Resolving result
Source: