Automattic / Automattic/kue

[FEATURE REQUEST] promise for job save and update

Open
#1,023 3 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.4k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

So we can using following syntax:

```
const test = async () => {
let job = await Job.get(id)
await job.save()
await job.update()
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the Job.get, job.save, and job.update entry points mentioned in the example, then inspect how their current asynchronous behavior is exposed. Confirm the existing callback behavior and identify relevant tests before defining completion as support for the shown await syntax without breaking current usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.