docs: fix code example
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 4 Apr 2023 21:57:55 +0000 (23:57 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 4 Apr 2023 21:57:55 +0000 (23:57 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
examples/multiFunctionExample.js

index 6edc2bb7aaaa80b2d7ade610a09860785919d62d..31fd8809613f7e2b86783a53bb16e9972128743c 100644 (file)
@@ -13,4 +13,4 @@ pool
   .then(res => console.log(res))
   .catch(err => console.error(err))
 
-setTimeout(pool.destroy(pool), 3000)
+setTimeout(pool.destroy(), 3000)