X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futility-types.ts;h=a8da491e16fe62143d1d716672c4b4db44aa8e9f;hb=21f710aa73abbb5d90328cfb199adfc0f7a70406;hp=f1b773eb31196c5ca827759bbbf3f70a37fc1ae9;hpb=2431bdb4c2dc637169bf623a40fc6562f685e56e;p=poolifier.git diff --git a/src/utility-types.ts b/src/utility-types.ts index f1b773eb..a8da491e 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -8,10 +8,6 @@ import type { IWorker, Task } from './pools/worker' * @typeParam Data - Type of data sent to the worker triggering an error. This can only be structured-cloneable data. */ export interface TaskError { - /** - * Worker id. - */ - readonly workerId: number /** * Error message. */ @@ -61,10 +57,6 @@ export interface WorkerStatistics { */ export interface MessageValue extends Task { - /** - * Worker id. - */ - readonly workerId?: number /** * Kill code. */