resolve(value, [successCallback], [errorCallback], [progressCallback]);
Alias of when to maintain naming consistency with ES6.
Parameters
Param | Type | Details |
---|---|---|
value | * | Value or a promise |
successCallback (optional) | Function= | |
errorCallback (optional) | Function= | |
progressCallback (optional) | Function= |
Returns
Promise |
Returns a promise of the passed value or promise |
Please login to continue.