X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Ftask-functions.ts;h=353b8b0c1f8b329d71c89e6a89bbbdd921d3d548;hb=e81c38f2f8046e9a482e94040b8f6d31dcda160c;hp=a61d69627ce6eeebd36e462f5801c36e94cc8e06;hpb=edbc15c62f491f28a09a03a4cc134a8a9522059e;p=poolifier.git diff --git a/src/worker/task-functions.ts b/src/worker/task-functions.ts index a61d6962..353b8b0c 100644 --- a/src/worker/task-functions.ts +++ b/src/worker/task-functions.ts @@ -43,3 +43,11 @@ export type TaskFunctions = Record< string, TaskFunction > + +/** + * Task function operation return type. + */ +export interface TaskFunctionOperationReturnType { + status: boolean + error?: Error +}