p-cancelable
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -57,2 +57,6 @@ 'use strict'; | ||
finally(onFinally) { | ||
return this._promise.finally(onFinally); | ||
} | ||
cancel() { | ||
@@ -59,0 +63,0 @@ if (!this._isPending || this._isCanceled) { |
{ | ||
"name": "p-cancelable", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Create a promise that can be canceled", | ||
@@ -44,4 +44,5 @@ "license": "MIT", | ||
"delay": "^2.0.0", | ||
"promise.prototype.finally": "^3.1.0", | ||
"xo": "*" | ||
} | ||
} |
6976
73
4