X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Ftask-functions.ts;h=353b8b0c1f8b329d71c89e6a89bbbdd921d3d548;hb=d28c70ad5ebe6f2470352954454c94c7bd8459fa;hp=a61d69627ce6eeebd36e462f5801c36e94cc8e06;hpb=82ea6492d3318a170559bb57501dc16023bb18d8;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 +}