repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: execute() can have no arguments in examples
[poolifier.git]
/
examples
/
fixedExample.js
diff --git
a/examples/fixedExample.js
b/examples/fixedExample.js
index 884ab59e33ea44a81241b89983f34f9135d623f7..21ccf6c1d227989e0b24d42807d5b0640ccbbaef 100644
(file)
--- a/
examples/fixedExample.js
+++ b/
examples/fixedExample.js
@@
-18,7
+18,7
@@
const start = performance.now()
const iterations = 1000
for (let i = 1; i <= iterations; i++) {
pool
- .execute(
{}
)
+ .execute()
.then(() => {
resolved++
if (resolved === iterations) {