build(deps-dev): apply updates
[poolifier.git] / src / utility-types.ts
index 1783b4e6f36adfa9f778cbd74b3ce46975bb40a2..12067c077e06599339a0b01e0ebc51df42178713 100644 (file)
@@ -110,6 +110,10 @@ export interface MessageValue<Data = unknown, ErrorData = unknown>
    * 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<Response = unknown> {
    */
   readonly workerNodeKey: number
 }
+
+export type Writable<T> = { -readonly [P in keyof T]: T[P] }