X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futility-types.ts;h=12067c077e06599339a0b01e0ebc51df42178713;hb=eb8dd89c6f310df4b36ae314aec14de049397884;hp=1783b4e6f36adfa9f778cbd74b3ce46975bb40a2;hpb=1e3214b63e262557aadebf3c57e8388de6a4bbe4;p=poolifier.git diff --git a/src/utility-types.ts b/src/utility-types.ts index 1783b4e6..12067c07 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -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. */ @@ -148,3 +152,5 @@ export interface PromiseResponseWrapper { */ readonly workerNodeKey: number } + +export type Writable = { -readonly [P in keyof T]: T[P] }