repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: add axios to http-client TS code example
[poolifier.git]
/
examples
/
fixedExample.js
diff --git
a/examples/fixedExample.js
b/examples/fixedExample.js
index 884ab59e33ea44a81241b89983f34f9135d623f7..1f5ac4ea4e19f52ec474de4c12c6ed314f78704e 100644
(file)
--- a/
examples/fixedExample.js
+++ b/
examples/fixedExample.js
@@
-1,3
+1,4
@@
+'use strict'
const {
FixedThreadPool,
PoolEvents,
@@
-18,7
+19,7
@@
const start = performance.now()
const iterations = 1000
for (let i = 1; i <= iterations; i++) {
pool
- .execute(
{}
)
+ .execute()
.then(() => {
resolved++
if (resolved === iterations) {