X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Ftask-functions.ts;h=ef9e1f0a235e5093c4a30ab667bc6897bffd69ce;hb=aa1002e4160dbfc14767eb3a40c885b12c1fa223;hp=a61d69627ce6eeebd36e462f5801c36e94cc8e06;hpb=82ea6492d3318a170559bb57501dc16023bb18d8;p=poolifier.git diff --git a/src/worker/task-functions.ts b/src/worker/task-functions.ts index a61d6962..ef9e1f0a 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 result. + */ +export interface TaskFunctionOperationResult { + status: boolean + error?: Error +}