X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futility-types.ts;h=60ec2f546fe50f2ab14ea96b49b60d839dd12ea0;hb=273b76d87560482b4114668a705e42d54b3ce3b0;hp=48988c089f6717e1e4108143ce87c20bdc5536d1;hpb=447eca603b96bc46303dfa16f3048b68ae576b0c;p=poolifier.git diff --git a/src/utility-types.ts b/src/utility-types.ts index 48988c08..60ec2f54 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -69,10 +69,6 @@ export interface WorkerStatistics { * @internal */ export interface Task { - /** - * Worker id. - */ - readonly workerId?: number /** * Task name. */ @@ -104,6 +100,10 @@ export interface Task { */ export interface MessageValue extends Task { + /** + * Worker id. + */ + readonly workerId?: number /** * Kill code. */