@pushrocks/smartdelay
Advanced tools
Comparing version 2.0.9 to 2.0.10
@@ -137,3 +137,3 @@ var tsbundle = (function (exports) { | ||
this._cancelled = true; | ||
this.makeUnrefed(); | ||
clearTimeout(this._timeout); | ||
} | ||
@@ -140,0 +140,0 @@ getTimeLeft() { |
@@ -72,3 +72,3 @@ "use strict"; | ||
this._cancelled = true; | ||
this.makeUnrefed(); | ||
clearTimeout(this._timeout); | ||
} | ||
@@ -81,2 +81,2 @@ getTimeLeft() { | ||
exports.Timeout = Timeout; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsc0VBQXdEO0FBRXhEOzs7O0dBSUc7QUFDUSxRQUFBLFFBQVEsR0FBRyxLQUFLLEVBQUssaUJBQXlCLEVBQUUsTUFBVSxFQUFFLEVBQUU7SUFDdkUsTUFBTSxJQUFJLE9BQU8sQ0FBQyxDQUFDLE9BQU8sRUFBRSxNQUFNLEVBQUUsRUFBRTtRQUNwQyxVQUFVLENBQUMsR0FBRyxFQUFFO1lBQ2QsT0FBTyxFQUFFLENBQUM7UUFDWixDQUFDLEVBQUUsaUJBQWlCLENBQUMsQ0FBQztJQUN4QixDQUFDLENBQUMsQ0FBQztJQUNILE9BQU8sTUFBTSxDQUFDO0FBQ2hCLENBQUMsQ0FBQztBQUVGOztHQUVHO0FBQ1EsUUFBQSxjQUFjLEdBQUcsS0FBSyxFQUMvQixvQkFBNEIsRUFDNUIsb0JBQTRCLEVBQzVCLE1BQVUsRUFDVixFQUFFO0lBQ0YsTUFBTSxJQUFJLE9BQU8sQ0FBQyxDQUFDLE9BQU8sRUFBRSxNQUFNLEVBQUUsRUFBRTtRQUNwQyxVQUFVLENBQUMsR0FBRyxFQU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xDQUFDO0lBQzlCLENBQUM7SUFFTSxXQUFXO1FBQ2hCLE1BQU0sTUFBTSxHQUFHLElBQUksQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDLGVBQWUsR0FBRyxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUM7UUFDaEUsT0FBTyxNQUFNLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUNqQyxDQUFDO0NBQ0Y7QUF4Q0QsMEJBd0NDIn0= |
{ | ||
"name": "@pushrocks/smartdelay", | ||
"private": false, | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"description": "timeouts for the async/await era, written in TypeScript", | ||
@@ -6,0 +6,0 @@ "main": "dist_ts/index.js", |
@@ -36,3 +36,3 @@ import * as smartpromise from '@pushrocks/smartpromise'; | ||
private _deferred: smartpromise.Deferred<T>; | ||
private _timeout: any; | ||
private _timeout; | ||
private _cancelled: boolean = false; | ||
@@ -67,3 +67,3 @@ | ||
this._cancelled = true; | ||
this.makeUnrefed(); | ||
clearTimeout(this._timeout); | ||
} | ||
@@ -70,0 +70,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20367