repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactor: add worker id sanity check at message handling
[poolifier.git]
/
src
/
queue.ts
diff --git
a/src/queue.ts
b/src/queue.ts
index dab9f04c2783f5a5aa039a3af894780f1b5c639f..dba55f1cc90467ab5d27e55a9b37e9004da983b4 100644
(file)
--- a/
src/queue.ts
+++ b/
src/queue.ts
@@
-91,7
+91,7
@@
export class Queue<T> {
}
}
const value = items[i]
- i++
+ ++i
return {
value,
done: false