X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futility-types.ts;h=a418ee885f903d3bb9838c0c34be0e6bbce43524;hb=f6bc9f26d8a0246bbee14b2b03d0bcc41b8aeb52;hp=d6869557d5af04ec06444e320d1fe6cac41cadc0;hpb=f7b2b8101acbc121ec9c787a8b1c72ba3375175b;p=poolifier.git diff --git a/src/utility-types.ts b/src/utility-types.ts index d6869557..a418ee88 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -101,7 +101,7 @@ export interface MessageValue /** * Kill code. */ - readonly kill?: KillBehavior | true + readonly kill?: KillBehavior | true | 'success' | 'failure' /** * Task error. */ @@ -110,6 +110,10 @@ export interface MessageValue * Task performance. */ readonly taskPerformance?: TaskPerformance + /** + * Task function names. + */ + readonly taskFunctions?: string[] /** * Whether the worker computes the given statistics or not. */