Merge pull request #15461 from acierto/abort-task
Cancelling the running task (executing of a scaffolder template)
This commit is contained in:
@@ -30,6 +30,7 @@ export type ActionContext<TActionInput extends JsonObject> = {
|
||||
entity?: UserEntity;
|
||||
ref?: string;
|
||||
};
|
||||
signal?: AbortSignal;
|
||||
};
|
||||
|
||||
// @public
|
||||
|
||||
@@ -60,6 +60,11 @@ export type ActionContext<TActionInput extends JsonObject> = {
|
||||
*/
|
||||
ref?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Implement the signal to make your custom step abortable https://developer.mozilla.org/en-US/docs/Web/API/AbortController/signal
|
||||
*/
|
||||
signal?: AbortSignal;
|
||||
};
|
||||
|
||||
/** @public */
|
||||
|
||||
Reference in New Issue
Block a user