@@ -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>;
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user