X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futility-types.ts;h=104725ac4299ec9827e81c52d9e7b09dc3105d96;hb=2377984dc95d13e0a684210368e3e4d4ba6239d6;hp=c9c5492cb7411cb78e0363514badd243c5e49add;hpb=bdaf31cd0e637aa466c78d54a49f157899a2cb3f;p=poolifier.git diff --git a/src/utility-types.ts b/src/utility-types.ts index c9c5492c..104725ac 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -31,6 +31,10 @@ export interface MessageValue< * Error. */ readonly error?: string + /** + * Task run time. + */ + readonly taskRunTime?: number /** * Reference to main worker. *