ScaffolderApi.cancelTask()
Home > @backstage/plugin-scaffolder-react
> ScaffolderApi
> cancelTask
Sends a signal to a task broker to cancel the running task by taskId.
Signature:
cancelTask(taskId: string): Promise<void>;
Parameters
Parameter |
Type |
Description |
---|---|---|
taskId |
string |
the id of the task |
Promise<void>