Skip to main content

TaskInvocationDefinition

Home > @backstage/backend-tasks > TaskInvocationDefinition

Options that apply to the invocation of a given task.

Signature:

export interface TaskInvocationDefinition 

Properties

PropertyModifiersTypeDescription
fnTaskFunctionThe actual task function to be invoked regularly.
idstringA unique ID (within the scope of the plugin) for the task.
signal?AbortSignal(Optional) An abort signal that, when triggered, will stop the recurring execution of the task.