Skip to content

Commit 99fc054

Browse files
committed
docs: import for the trigger-time snippet
1 parent ec93625 commit 99fc054

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/queue-concurrency.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ Sometimes one limit isn't enough. A run always waits in one queue, its **home qu
199199
Pass an array as `queue`: the first entry is the home queue, the rest name gates. The same array form works when you trigger, replacing the task's gates for that run:
200200

201201
```ts
202+
import { processWebhook } from "~/trigger/webhooks";
203+
202204
await processWebhook.trigger(payload, {
203205
queue: ["webhooks", "tenant"],
204206
concurrencyKey: tenantId,

0 commit comments

Comments
 (0)