Skip to content

Commit b1432ab

Browse files
manastgitbook-bot
authored andcommittedFeb 20, 2024··
GITBOOK-191: change request with no subject merged in GitBook
1 parent 1a77c16 commit b1432ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎docs/gitbook/bullmq-pro/groups/sandboxes-for-groups.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
It is also possible to use [Sandboxes](../../guide/workers/sandboxed-processors.md) for processing groups. It works essentially the same as in standard BullMQ, but you gain access to the "gid" property in the job object sent to your processor, for example:
44

55
```typescript
6+
import { SandboxedJobPro } from '@taskforcesh/bullmq-pro';
7+
68
module.exports = function (job: SandboxedJobPro) {
79
expect(job).to.have.property('gid');
810
expect(job.opts).to.have.property('group');

0 commit comments

Comments
 (0)
Please sign in to comment.