Skip to content

Commit 0137a97

Browse files
committed
Support tags with tasks.trigger, tasks.batchTrigger and tasks poll variants
1 parent 4c6ad3b commit 0137a97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/trigger-sdk/src/v3/shared.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,7 @@ export async function trigger<TTask extends AnyTask>(
886886
idempotencyKey: await makeKey(options?.idempotencyKey),
887887
delay: options?.delay,
888888
ttl: options?.ttl,
889+
tags: options?.tags,
889890
maxAttempts: options?.maxAttempts,
890891
},
891892
},
@@ -962,6 +963,7 @@ export async function triggerAndWait<TTask extends AnyTask>(
962963
idempotencyKey: await makeKey(options?.idempotencyKey),
963964
delay: options?.delay,
964965
ttl: options?.ttl,
966+
tags: options?.tags,
965967
maxAttempts: options?.maxAttempts,
966968
},
967969
},

0 commit comments

Comments
 (0)