feat: sync task function names in pool
[poolifier.git] / src / utility-types.ts
index 1783b4e6f36adfa9f778cbd74b3ce46975bb40a2..a418ee885f903d3bb9838c0c34be0e6bbce43524 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.
    */