Comparing version 0.1.1 to 0.1.2
@@ -9,2 +9,3 @@ const | ||
const voidfn = ()=>{}; | ||
const DEF_CONF = { | ||
@@ -49,2 +50,4 @@ path : os.tmpdir()+"/fileq", | ||
push(item, callback) { | ||
callback = callback || voidfn; | ||
this.wsem.take(()=>{ | ||
@@ -59,2 +62,4 @@ this._push(item,(err,res)=>{ | ||
peek(callback, timeout) { | ||
callback = callback || voidfn; | ||
this.rsem.take(()=>{ | ||
@@ -61,0 +66,0 @@ this._peek((err,res)=>{ |
{ | ||
"name": "fileq", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "File based FIFO queue", | ||
@@ -5,0 +5,0 @@ "author": "David Gómez Matarrodona <solzimer@gmail.com>", |
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
16040
417