We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc1f0c8 commit 9c7c542Copy full SHA for 9c7c542
2 files changed
index.js
@@ -30,7 +30,7 @@ function cleanup(key) {
30
callbackQueue[key] = null;
31
if (++nulls > nullThreshold) {
32
callbackQueue = omit(callbackQueue, function removeNulls(datum) {
33
- return !!datum;
+ return datum === null;
34
});
35
}
36
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "callback-queue",
3
- "version": "1.1.0",
+ "version": "1.1.1",
4
"description": "Put your callbacks into queue to make sure that concurrent requests that you might want to perform will only be executed once",
5
"main": "index.js",
6
"scripts": {
0 commit comments