We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a640649 commit fccc0acCopy full SHA for fccc0ac
references/v3-catalog/src/trigger/checkpoints.ts
@@ -0,0 +1,15 @@
1
+import { tasks, task, logger } from "@trigger.dev/sdk/v3";
2
+
3
+/** Test that checkpoints and resuming works if the checkpoint isn't created before the resume */
4
+export const checkpointBatchResumer = task({
5
+ id: "checkpoint-batch-resume",
6
+ run: async () => {
7
+ await noop.batchTriggerAndWait([{}]);
8
+ logger.info("Successfully resumed");
9
+ },
10
+});
11
12
+export const noop = task({
13
+ id: "noop",
14
+ run: async () => {},
15
0 commit comments