Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
This commit is contained in:
bnechyporenko
2024-02-08 21:20:16 +01:00
parent 92582f17a0
commit a2ee37bc6d
7 changed files with 83 additions and 6 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export type ActionContext<
secrets?: TaskSecrets;
workspacePath: string;
input: TActionInput;
checkpoint<U extends JsonValue>(
checkpoint?<U extends JsonValue>(
key: string,
fn: () => Promise<U>,
): Promise<U>;
+2 -2
View File
@@ -27,7 +27,7 @@ export type TaskSecrets = Record<string, string> & {
};
/**
* The record passed to {@link TaskBroker.updateCheckpoint?}
* The record passed to TaskBroker for updating a checkpoint.
* Parameters to store the result of the executed checkpoint
*
* @public
@@ -45,7 +45,7 @@ export type CheckpointRecord =
};
/**
* TaskState
* The state of all task's checkpoints
*
* @public
*/