repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactor: cleanup default arguments handling
[poolifier.git]
/
examples
/
javascript
/
multiFunctionExample.js
diff --git
a/examples/javascript/multiFunctionExample.js
b/examples/javascript/multiFunctionExample.js
index 27a503256b776d163b29ad7a64a0a8d425ebf6c1..9667be3d090d0ba3c735af22d2afc4fb69ca0854 100644
(file)
--- a/
examples/javascript/multiFunctionExample.js
+++ b/
examples/javascript/multiFunctionExample.js
@@
-19,4
+19,4
@@
pool
.then(res => console.info(res))
.catch(err => console.error(err))
-setTimeout(pool.destroy(), 3000)
+setTimeout(
async () => await
pool.destroy(), 3000)