Skip to content

Commit

Permalink
docs: update phrasing to clarify promise usage over done callback (#2766
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Maddily authored Aug 29, 2024
1 parent 8564453 commit 090c529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ imageQueue.add({ image: 'http://example.com/image1.tiff' });

#### Using promises

Alternatively, you can use return promises instead of using the `done` callback:
Alternatively, you can return promises instead of using the `done` callback:

```javascript
videoQueue.process(function (job) { // don't forget to remove the done callback!
Expand Down

0 comments on commit 090c529

Please sign in to comment.