feat: conditional task performance computation at the worker level
[poolifier.git] / src / pools / worker.ts
index d10a27c9171c978ce44e7b9f6a1d2a9fb66131db..841a2bcb1513ba3dc017d4b599ef61e3329611ab 100644 (file)
@@ -47,9 +47,9 @@ export interface Task<Data = unknown> {
    */
   readonly data?: Data
   /**
-   * Submission timestamp.
+   * Timestamp.
    */
-  readonly submissionTimestamp?: number
+  readonly timestamp?: number
   /**
    * Message UUID.
    */