Check status by class name
Open
Nobody has claimed this yet.
type:enhancement
- Dominant language
- PHP
- Stars
- 1.1k
- Forks
- 285
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 2
Description
From docs - to see status need pass job id
if (!Yii::$app->queue->isDone($id))
echo 'working...'
What about check status by class name?
For example Yii::$app->queue->isAnyWorking(testJob::class) which mean- is any not done job for class TestJob?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue points to the queue documentation and the existing isDone($id) entry point; start by tracing that API through the extension and its supported queue drivers. Define the expected behavior for checking unfinished jobs by class name, then update the documentation and add coverage for the chosen behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100