Skip to content

Commit

Permalink
docs: fix job type in sandbox-processors guide fixes #539
Browse files Browse the repository at this point in the history
  • Loading branch information
hertzquake authored May 10, 2021
1 parent 3d8f042 commit 81bbf4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/gitbook/guide/workers/sandboxed-processors.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Since these workers run the processor in a different process, they will not resu
In order to use a sandboxed processor just define the processor in a separate file:

```typescript
import { Job } from 'bullmq';
import { SandboxedJob } from 'bullmq';

module.exports = async (job: Job) => {
module.exports = async (job: SandboxedJob) => {
// Do something with job
};
```
Expand Down

0 comments on commit 81bbf4a

Please sign in to comment.