Interface Task<TProperties, TPayload>

Event with which task handler gets invoked

Type Parameters

  • TProperties = unknown

    Data with which task was created

  • TPayload = unknown

    Handler execution result

Hierarchy

Properties

app_id: number
asset_id: number
company_id: number
document_bucket: string
fail_reason: string

Error message, in case task execution has failed

id: string
payload: TPayload

Handler execution result

properties: TProperties

Data with which task was created

state: TaskState

Current task's state