bridge_claim
Atomically claim the next task from a shared queue, ensuring no two workers receive the same job. Hold it for a lease duration; use long-polling to wait for available work.
Instructions
Atomically claim the next task from a channel's queue — no two workers ever get the same task. The claim holds a lease for lease_seconds; complete or fail it before the lease expires or it is requeued to another worker. Set wait_seconds to long-poll.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | ||
| consumer | Yes | ||
| wait_seconds | No | ||
| lease_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||