Skip to content

Commit

Permalink
chore(release): 1.20.0 [skip ci]
Browse files Browse the repository at this point in the history
# [1.20.0](v1.19.3...v1.20.0) (2021-04-21)

### Features

* **worker:** passing token in processor function ([2249724](2249724))
  • Loading branch information
semantic-release-bot committed Apr 21, 2021
1 parent 2249724 commit c96032a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions docs/gitbook/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [1.20.0](https://github.com/taskforcesh/bullmq/compare/v1.19.3...v1.20.0) (2021-04-21)


### Features

* **worker:** passing token in processor function ([2249724](https://github.com/taskforcesh/bullmq/commit/2249724b1bc6fbf40b0291400011f201fd02dab3))

## [1.19.3](https://github.com/taskforcesh/bullmq/compare/v1.19.2...v1.19.3) (2021-04-20)


Expand Down
2 changes: 1 addition & 1 deletion docs/gitbook/api/bullmq.processor.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ An async function that receives `Job`<!-- -->s and handles them.
<b>Signature:</b>

```typescript
export declare type Processor<T = any, R = any, N extends string = string> = (job: Job<T, R, N>) => Promise<R>;
export declare type Processor<T = any, R = any, N extends string = string> = (job: Job<T, R, N>, token: string) => Promise<R>;
```
<b>References:</b> [Job](./bullmq.job.md)

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bullmq",
"version": "1.19.3",
"version": "1.20.0",
"description": "Queue for messages and jobs based on Redis",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit c96032a

Please sign in to comment.