cancel([promise]);
Cancels a task associated with the promise. As a result of this, the promise will be resolved with a rejection.
Parameters
| Param | Type | Details |
|---|---|---|
| promise (optional) | Promise | Promise returned by the |
Returns
boolean |
Returns |
Please login to continue.