From: Jérôme Benoit Date: Sat, 3 Jun 2023 07:51:14 +0000 (+0200) Subject: refactor: cleanup worker import X-Git-Tag: v2.5.3~14 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=241f23c2f9cfec2259c11f0a223116aca357317b;p=poolifier.git refactor: cleanup worker import Signed-off-by: Jérôme Benoit --- diff --git a/src/worker/abstract-worker.ts b/src/worker/abstract-worker.ts index 8e55b301..91a45e94 100644 --- a/src/worker/abstract-worker.ts +++ b/src/worker/abstract-worker.ts @@ -9,8 +9,11 @@ import type { WorkerSyncFunction } from '../utility-types' import { EMPTY_FUNCTION, isPlainObject } from '../utils' -import type { KillBehavior, WorkerOptions } from './worker-options' -import { KillBehaviors } from './worker-options' +import { + type KillBehavior, + KillBehaviors, + type WorkerOptions +} from './worker-options' const DEFAULT_FUNCTION_NAME = 'default' const DEFAULT_MAX_INACTIVE_TIME = 60000