From 670ede1cd02d1934860757fc7ea28ed0e963f6cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 23 Jul 2023 16:23:17 +0200 Subject: [PATCH] refactor: cleanup examples MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- examples/dynamicExample.js | 1 + examples/fixedExample.js | 1 + examples/multiFunctionExample.js | 1 + 3 files changed, 3 insertions(+) diff --git a/examples/dynamicExample.js b/examples/dynamicExample.js index b8cbf49a..ad79ba20 100644 --- a/examples/dynamicExample.js +++ b/examples/dynamicExample.js @@ -1,3 +1,4 @@ +'use strict' const { DynamicThreadPool, PoolEvents, diff --git a/examples/fixedExample.js b/examples/fixedExample.js index 21ccf6c1..1f5ac4ea 100644 --- a/examples/fixedExample.js +++ b/examples/fixedExample.js @@ -1,3 +1,4 @@ +'use strict' const { FixedThreadPool, PoolEvents, diff --git a/examples/multiFunctionExample.js b/examples/multiFunctionExample.js index 829ba93d..27a50325 100644 --- a/examples/multiFunctionExample.js +++ b/examples/multiFunctionExample.js @@ -1,3 +1,4 @@ +'use strict' const { FixedThreadPool, availableParallelism } = require('poolifier') const pool = new FixedThreadPool( -- 2.34.1