repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47aacba
)
refactor: cleanup worker import
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 3 Jun 2023 07:51:14 +0000
(09:51 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 3 Jun 2023 07:51:14 +0000
(09:51 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/worker/abstract-worker.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/worker/abstract-worker.ts
b/src/worker/abstract-worker.ts
index 8e55b30152fc60fb47a403ad31c44e7fc32457dd..91a45e94b0f36c568326460891332d61d7de0731 100644
(file)
--- 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