Skip to content

Commit

Permalink
chore(release): 1.24.1 [skip ci]
Browse files Browse the repository at this point in the history
## [1.24.1](v1.24.0...v1.24.1) (2021-05-05)

### Bug Fixes

* **queueevents:** add active type fixes [#519](#519) ([10af883](10af883))
  • Loading branch information
semantic-release-bot committed May 5, 2021
1 parent 10af883 commit 7679ada
Show file tree
Hide file tree
Showing 13 changed files with 67 additions and 34 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.24.1](https://github.com/taskforcesh/bullmq/compare/v1.24.0...v1.24.1) (2021-05-05)


### Bug Fixes

* **queueevents:** add active type fixes [#519](https://github.com/taskforcesh/bullmq/issues/519) ([10af883](https://github.com/taskforcesh/bullmq/commit/10af883db849cf9392b26724903f88752d9be92c))

# [1.24.0](https://github.com/taskforcesh/bullmq/compare/v1.23.1...v1.24.0) (2021-05-03)


Expand Down
1 change: 1 addition & 0 deletions docs/gitbook/api/bullmq.queueevents.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export declare interface QueueEvents
| Method | Description |
| --- | --- |
| [on(event, listener)](./bullmq.queueevents.on.md) | |
| [on(event, listener)](./bullmq.queueevents.on_9.md) | |
| [on(event, listener)](./bullmq.queueevents.on_1.md) | |
| [on(event, listener)](./bullmq.queueevents.on_2.md) | |
| [on(event, listener)](./bullmq.queueevents.on_3.md) | |
Expand Down
8 changes: 4 additions & 4 deletions docs/gitbook/api/bullmq.queueevents.on.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
<b>Signature:</b>

```typescript
on(event: 'waiting', listener: (args: {
on(event: 'active', listener: (args: {
jobId: string;
}, id: string) => void): this;
}, prev?: string) => void): this;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| event | 'waiting' | |
| listener | (args: { jobId: string; }, id: string) =&gt; void | |
| event | 'active' | |
| listener | (args: { jobId: string; }, prev?: string) =&gt; void | |

<b>Returns:</b>

Expand Down
7 changes: 3 additions & 4 deletions docs/gitbook/api/bullmq.queueevents.on_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@
<b>Signature:</b>

```typescript
on(event: 'delayed', listener: (args: {
on(event: 'waiting', listener: (args: {
jobId: string;
delay: number;
}, id: string) => void): this;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| event | 'delayed' | |
| listener | (args: { jobId: string; delay: number; }, id: string) =&gt; void | |
| event | 'waiting' | |
| listener | (args: { jobId: string; }, id: string) =&gt; void | |

<b>Returns:</b>

Expand Down
8 changes: 4 additions & 4 deletions docs/gitbook/api/bullmq.queueevents.on_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
<b>Signature:</b>

```typescript
on(event: 'progress', listener: (args: {
on(event: 'delayed', listener: (args: {
jobId: string;
data: string;
delay: number;
}, id: string) => void): this;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| event | 'progress' | |
| listener | (args: { jobId: string; data: string; }, id: string) =&gt; void | |
| event | 'delayed' | |
| listener | (args: { jobId: string; delay: number; }, id: string) =&gt; void | |

<b>Returns:</b>

Expand Down
7 changes: 4 additions & 3 deletions docs/gitbook/api/bullmq.queueevents.on_3.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@
<b>Signature:</b>

```typescript
on(event: 'stalled', listener: (args: {
on(event: 'progress', listener: (args: {
jobId: string;
data: string;
}, id: string) => void): this;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| event | 'stalled' | |
| listener | (args: { jobId: string; }, id: string) =&gt; void | |
| event | 'progress' | |
| listener | (args: { jobId: string; data: string; }, id: string) =&gt; void | |

<b>Returns:</b>

Expand Down
8 changes: 3 additions & 5 deletions docs/gitbook/api/bullmq.queueevents.on_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,17 @@
<b>Signature:</b>

```typescript
on(event: 'completed', listener: (args: {
on(event: 'stalled', listener: (args: {
jobId: string;
returnvalue: string;
prev?: string;
}, id: string) => void): this;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| event | 'completed' | |
| listener | (args: { jobId: string; returnvalue: string; prev?: string; }, id: string) =&gt; void | |
| event | 'stalled' | |
| listener | (args: { jobId: string; }, id: string) =&gt; void | |

<b>Returns:</b>

Expand Down
8 changes: 4 additions & 4 deletions docs/gitbook/api/bullmq.queueevents.on_5.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<b>Signature:</b>

```typescript
on(event: 'failed', listener: (args: {
on(event: 'completed', listener: (args: {
jobId: string;
failedReason: string;
returnvalue: string;
prev?: string;
}, id: string) => void): this;
```
Expand All @@ -18,8 +18,8 @@ on(event: 'failed', listener: (args: {

| Parameter | Type | Description |
| --- | --- | --- |
| event | 'failed' | |
| listener | (args: { jobId: string; failedReason: string; prev?: string; }, id: string) =&gt; void | |
| event | 'completed' | |
| listener | (args: { jobId: string; returnvalue: string; prev?: string; }, id: string) =&gt; void | |

<b>Returns:</b>

Expand Down
8 changes: 5 additions & 3 deletions docs/gitbook/api/bullmq.queueevents.on_6.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@
<b>Signature:</b>

```typescript
on(event: 'removed', listener: (args: {
on(event: 'failed', listener: (args: {
jobId: string;
failedReason: string;
prev?: string;
}, id: string) => void): this;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| event | 'removed' | |
| listener | (args: { jobId: string; }, id: string) =&gt; void | |
| event | 'failed' | |
| listener | (args: { jobId: string; failedReason: string; prev?: string; }, id: string) =&gt; void | |

<b>Returns:</b>

Expand Down
8 changes: 5 additions & 3 deletions docs/gitbook/api/bullmq.queueevents.on_7.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@
<b>Signature:</b>

```typescript
on(event: 'drained', listener: (id: string) => void): this;
on(event: 'removed', listener: (args: {
jobId: string;
}, id: string) => void): this;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| event | 'drained' | |
| listener | (id: string) =&gt; void | |
| event | 'removed' | |
| listener | (args: { jobId: string; }, id: string) =&gt; void | |

<b>Returns:</b>

Expand Down
6 changes: 3 additions & 3 deletions docs/gitbook/api/bullmq.queueevents.on_8.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<b>Signature:</b>

```typescript
on(event: string, listener: Function): this;
on(event: 'drained', listener: (id: string) => void): this;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| event | string | |
| listener | Function | |
| event | 'drained' | |
| listener | (id: string) =&gt; void | |

<b>Returns:</b>

Expand Down
23 changes: 23 additions & 0 deletions docs/gitbook/api/bullmq.queueevents.on_9.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bullmq](./bullmq.md) &gt; [QueueEvents](./bullmq.queueevents.md) &gt; [on](./bullmq.queueevents.on_9.md)

## QueueEvents.on() method

<b>Signature:</b>

```typescript
on(event: string, listener: Function): this;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| event | string | |
| listener | Function | |

<b>Returns:</b>

this

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.24.0",
"version": "1.24.1",
"description": "Queue for messages and jobs based on Redis",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 7679ada

Please sign in to comment.