Result of triggering a checkpoint
Returned by triggerCheckpoint() to indicate success or failure. Includes error details and partial failure information.
const result: CheckpointTriggerResult = { triggered: true, checkpointName: 'tests_complete', failedCallbacks: 1 // 1 of 3 callbacks failed}; Copy
const result: CheckpointTriggerResult = { triggered: true, checkpointName: 'tests_complete', failedCallbacks: 1 // 1 of 3 callbacks failed};
Whether the checkpoint was triggered (true if at least one callback succeeded)
Name of the checkpoint
Optional
Error message if all callbacks failed
Number of callbacks that failed (undefined if all succeeded)
Result of triggering a checkpoint
Returned by triggerCheckpoint() to indicate success or failure. Includes error details and partial failure information.
Example