repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf: bind to this some methods in the tasks execution code path
[poolifier.git]
/
examples
/
multiFunctionExample.js
diff --git
a/examples/multiFunctionExample.js
b/examples/multiFunctionExample.js
index 93d4e78b3d0465b35b823fd18dc2cbc203c66e31..6edc2bb7aaaa80b2d7ade610a09860785919d62d 100644
(file)
--- a/
examples/multiFunctionExample.js
+++ b/
examples/multiFunctionExample.js
@@
-13,4
+13,4
@@
pool
.then(res => console.log(res))
.catch(err => console.error(err))
-setTimeout(pool.destroy
.bind
(pool), 3000)
+setTimeout(pool.destroy(pool), 3000)