fix: unregister worker callbacks after usage
[poolifier.git] / src / worker / task-functions.ts
index 353b8b0c1f8b329d71c89e6a89bbbdd921d3d548..ef9e1f0a235e5093c4a30ab667bc6897bffd69ce 100644 (file)
@@ -45,9 +45,9 @@ TaskFunction<Data, Response>
 >
 
 /**
- * Task function operation return type.
+ * Task function operation result.
  */
-export interface TaskFunctionOperationReturnType {
+export interface TaskFunctionOperationResult {
   status: boolean
   error?: Error
 }