Generated API reports and hiding the "Retry" option if task is not retryable
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
This commit is contained in:
@@ -292,6 +292,7 @@ export type SerializedTask = {
|
||||
// @public
|
||||
export type SerializedTaskEvent = {
|
||||
id: number;
|
||||
isTaskRecoverable?: boolean;
|
||||
taskId: string;
|
||||
body: JsonObject;
|
||||
type: TaskEventType;
|
||||
@@ -340,6 +341,8 @@ export interface TaskBroker {
|
||||
// (undocumented)
|
||||
recoverTasks?(): Promise<void>;
|
||||
// (undocumented)
|
||||
retry?(taskId: string): Promise<void>;
|
||||
// (undocumented)
|
||||
vacuumTasks(options: { timeoutS: number }): Promise<void>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user