Skip to content

Commit

Permalink
Merge pull request nestjs#2646 from manassra/master
Browse files Browse the repository at this point in the history
FIX: Add missing import for OnQueueActive in Snippet
  • Loading branch information
kamilmysliwiec authored Mar 9, 2023
2 parents f8db7ee + 35d5f0e commit 3a3058c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/techniques/queues.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ Bull generates a set of useful events when queue and/or job state changes occur.
Event listeners must be declared within a <a href="techniques/queues#consumers">consumer</a> class (i.e., within a class decorated with the `@Processor()` decorator). To listen for an event, use one of the decorators in the table below to declare a handler for the event. For example, to listen to the event emitted when a job enters the active state in the `audio` queue, use the following construct:

```typescript
import { Processor, Process } from '@nestjs/bull';
import { Processor, Process, OnQueueActive } from '@nestjs/bull';
import { Job } from 'bull';

@Processor('audio')
Expand Down

0 comments on commit 3a3058c

Please sign in to comment.