Skip to content

Commit 02e0629

Browse files
Update queues.md
1 parent 39b6837 commit 02e0629

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/techniques/queues.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ import { Processor } from '@nestjs/bull';
205205
export class AudioConsumer {}
206206
```
207207

208+
> info **Hint** Consumers must be registered as `providers` so the `@nestjs/bull` package can pick them up.
209+
208210
Where the decorator's string argument (e.g., `'audio'`) is the name of the queue to be associated with the class methods.
209211

210212
Within a consumer class, declare job handlers by decorating handler methods with the `@Process()` decorator.

0 commit comments

Comments
 (0)