docs: add lege-queue example to check_queue_empty README section
This commit is contained in:
parent
d4522e8e53
commit
7db9881d85
1 changed files with 8 additions and 2 deletions
10
README.md
10
README.md
|
|
@ -140,13 +140,19 @@ Synchronous, non-blocking poll that returns how many ClaudeJobs are still active
|
|||
{ "product_id": "cmoprewcf000q..." } // optional — omit to aggregate all products
|
||||
```
|
||||
|
||||
**Output — with product_id**
|
||||
**Output — empty queue**
|
||||
|
||||
```json
|
||||
{ "empty": true, "remaining": 0, "by_product": {} }
|
||||
```
|
||||
|
||||
**Output — with product_id (non-empty)**
|
||||
|
||||
```json
|
||||
{ "empty": false, "remaining": 2 }
|
||||
```
|
||||
|
||||
**Output — without product_id**
|
||||
**Output — without product_id (per-product split)**
|
||||
|
||||
```json
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue