refactor: cleanup examples
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 23 Jul 2023 14:23:17 +0000 (16:23 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 23 Jul 2023 14:23:17 +0000 (16:23 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
examples/dynamicExample.js
examples/fixedExample.js
examples/multiFunctionExample.js

index b8cbf49ad298a96ed3ca1a3fd8e6c9c26b704682..ad79ba20294135dfc4569f1795151ae24f8ea3fc 100644 (file)
@@ -1,3 +1,4 @@
+'use strict'
 const {
   DynamicThreadPool,
   PoolEvents,
index 21ccf6c1d227989e0b24d42807d5b0640ccbbaef..1f5ac4ea4e19f52ec474de4c12c6ed314f78704e 100644 (file)
@@ -1,3 +1,4 @@
+'use strict'
 const {
   FixedThreadPool,
   PoolEvents,
index 829ba93d4c59e852f872a47c6d5dbaa9dc4c5597..27a503256b776d163b29ad7a64a0a8d425ebf6c1 100644 (file)
@@ -1,3 +1,4 @@
+'use strict'
 const { FixedThreadPool, availableParallelism } = require('poolifier')
 
 const pool = new FixedThreadPool(