From: Jérôme Benoit Date: Tue, 4 Apr 2023 21:57:55 +0000 (+0200) Subject: docs: fix code example X-Git-Tag: v2.4.1~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=979e2251853435eb4c98d9452bbf787a16aa0266;p=poolifier.git docs: fix code example Signed-off-by: Jérôme Benoit --- diff --git a/examples/multiFunctionExample.js b/examples/multiFunctionExample.js index 6edc2bb7..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(pool), 3000) +setTimeout(pool.destroy(), 3000)