X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fworker%2Fabstract-worker.ts;h=91a45e94b0f36c568326460891332d61d7de0731;hb=460aaab4b4cb6857827d3e56e11122bffc01db8a;hp=8e55b30152fc60fb47a403ad31c44e7fc32457dd;hpb=91ee39ed9280daa760f898e84b4e7dc68debe5ba;p=poolifier.git 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