X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futility-types.ts;h=2035235022d13f49cb39c98e3ea10b91cf7ca8ec;hb=48487131ad37630e3021c3e4feee1b311d8bcd11;hp=9ecf56577f999f4d56a5474917d522f644993749;hpb=b93080b79a5e2e5d174991d87e96c97b307df18e;p=poolifier.git diff --git a/src/utility-types.ts b/src/utility-types.ts index 9ecf5657..20352350 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -68,7 +68,7 @@ export interface MessageValue /** * Kill code. */ - readonly kill?: KillBehavior | 1 + readonly kill?: KillBehavior | true /** * Task error. */ @@ -85,6 +85,10 @@ export interface MessageValue * Whether the worker has started or not. */ readonly started?: boolean + /** + * Whether the worker starts or stops its aliveness check. + */ + readonly checkAlive?: boolean } /**