Skip to content

Commit 3a3058c

Browse files
Merge pull request #2646 from manassra/master
FIX: Add missing import for OnQueueActive in Snippet
2 parents f8db7ee + 35d5f0e commit 3a3058c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/queues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ Bull generates a set of useful events when queue and/or job state changes occur.
269269
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:
270270

271271
```typescript
272-
import { Processor, Process } from '@nestjs/bull';
272+
import { Processor, Process, OnQueueActive } from '@nestjs/bull';
273273
import { Job } from 'bull';
274274

275275
@Processor('audio')

0 commit comments

Comments
 (0)