Skip to content

Commit

Permalink
GitBook: [#111] docs: add Curri in used by
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf authored and gitbook-bot committed Apr 22, 2022
1 parent 73ac8c7 commit 60da723
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
Binary file added docs/gitbook/.gitbook/assets/curri-small (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gitbook/.gitbook/assets/curri-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gitbook/.gitbook/assets/curri.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions docs/gitbook/README (1).md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ worker.on('failed', (job, err) => {
```

{% hint style="info" %}
There are many other events available, check the [Guide](guide/events.md) or the [API reference](broken-reference/) for more information.
There are many other events available, check the [Guide](guide/events.md) or the [API reference](https://api.docs.bullmq.io) for more information.
{% endhint %}

Sometimes you need to listen to all the workers events in a given place, for this you need to use a special class `QueueEvents`:
Sometimes you need to listen to all the workers events in a given place, for this you need to use a special class [`QueueEvents`](https://api.docs.bullmq.io/classes/QueueEvents.html):

```typescript
import { QueueEvents } from 'bullmq';
Expand Down Expand Up @@ -110,5 +110,5 @@ queueEvents.on('progress', ({ jobId, data }, timestamp) => {
```

{% hint style="danger" %}
For performance reasons, the events emited by a `QueueEvents` instance do not contain the `Job` instance, only the `jobId`. Use the `Job#fromId` method if you need the `Job` instance.
For performance reasons, the events emitted by a `QueueEvents` instance do not contain the `Job` instance, only the `jobId`. Use the `Job#fromId` method if you need the `Job` instance.
{% endhint %}
1 change: 1 addition & 0 deletions docs/gitbook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ BullMQ is used by many organizations big and small, here are some notable exampl

![](.gitbook/assets/datawrapper-logo.png)

![](<.gitbook/assets/curri-small (1).png>)

0 comments on commit 60da723

Please sign in to comment.