async-mutex
Advanced tools
Comparing version 0.3.0 to 0.3.1
# Changelog | ||
## 0.3.1 | ||
* `withTimeout`: make Jest happy and cancel timer when the mutex is acquired. | ||
Thanks to cantoine for the PR. | ||
## 0.3.0 | ||
@@ -4,0 +9,0 @@ |
@@ -30,2 +30,3 @@ import { __awaiter, __generator } from "tslib"; | ||
else { | ||
clearTimeout(handle); | ||
resolve(ticket); | ||
@@ -32,0 +33,0 @@ } |
@@ -33,2 +33,3 @@ "use strict"; | ||
else { | ||
clearTimeout(handle); | ||
resolve(ticket); | ||
@@ -35,0 +36,0 @@ } |
{ | ||
"name": "async-mutex", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "A mutex for guarding async workflows", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
48439
721