repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #153 from pioardi/add-worker-test
[poolifier.git]
/
src
/
utility-types.ts
diff --git
a/src/utility-types.ts
b/src/utility-types.ts
index 8fb8130a6bd2f268a8d41e51d7f9ce54c7d8fc1c..d680fa16ddc7e4748a41f2e878def0384eb2e305 100644
(file)
--- a/
src/utility-types.ts
+++ b/
src/utility-types.ts
@@
-1,5
+1,6
@@
import type { Worker } from 'cluster'
import type { MessagePort } from 'worker_threads'
import type { Worker } from 'cluster'
import type { MessagePort } from 'worker_threads'
+import type { KillBehavior } from './worker/worker-options'
/**
* Make all properties in T non-readonly
/**
* Make all properties in T non-readonly
@@
-42,7
+43,7
@@
export interface MessageValue<
/**
* Kill code.
*/
/**
* Kill code.
*/
- readonly kill?:
'HARD' | 'SOFT' | number
+ readonly kill?:
KillBehavior | 1
/**
* Error.
*/
/**
* Error.
*/