Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 933
Open
Description
You can trigger a run with a concurrencyKey to create a copy of a queue at runtime. It would be useful if this value would come through to the actual task when it executes (via the ctx).
awaitmyTask.trigger(payload,{concurrencyKey: "user-123",queue: "user-queue"});exportconstmyTask=task({id: "my-task",run: async(payload,{ ctx })=>{// We should add ctx.concurrencyKey// "user-123"ctx.concurrencyKey}});Metadata
Metadata
Assignees
Labels
No labels