Skip to content

Commit 033c61a

Browse files
committed
Added tasks.triggerAndWait to the tags test task
1 parent 37d6e8a commit 033c61a

File tree

1 file changed

+5
-0
lines changed
  • references/v3-catalog/src/trigger

1 file changed

+5
-0
lines changed

references/v3-catalog/src/trigger/tags.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ export const triggerRunsWithTags = task({
4646
{ message: "tasks.trigger from triggerRunsWithTags" },
4747
{ tags: payload.tags }
4848
);
49+
await tasks.triggerAndWait<typeof simpleChildTask>(
50+
"simple-child-task",
51+
{ message: "tasks.triggerAndWait from triggerRunsWithTags" },
52+
{ tags: payload.tags }
53+
);
4954
await tasks.batchTrigger<typeof simpleChildTask>("simple-child-task", [
5055
{
5156
payload: { message: "tasks.batchTrigger 1 from triggerRunsWithTags" },

0 commit comments

Comments
 (0)