X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2FmultiFunctionExample.js;h=31fd8809613f7e2b86783a53bb16e9972128743c;hb=9cd39dd47830f0923cd3ebf53b709bf7fb07e788;hp=93d4e78b3d0465b35b823fd18dc2cbc203c66e31;hpb=5c5a1fb79906f18560012263239e7bd611ee8d2b;p=poolifier.git diff --git a/examples/multiFunctionExample.js b/examples/multiFunctionExample.js index 93d4e78b..31fd8809 100644 --- 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(), 3000)