Skip to main content

createTaskOutput

Function
This function is defined in the task module.

Signature

def createTaskOutput(taskId: string,
  status: 'success' | 'failure' | 'partial',
  result?: any,
  error?: string) -> TaskOutput

Returns

Returns
TaskOutput
The result of the operation.

Source

View on GitHub

src/task/index.ts at line 30