Skip to content

Commit

Permalink
GITBOOK-191: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
manast authored and gitbook-bot committed Feb 20, 2024
1 parent 1a77c16 commit b1432ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/gitbook/bullmq-pro/groups/sandboxes-for-groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
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:

```typescript
import { SandboxedJobPro } from '@taskforcesh/bullmq-pro';

module.exports = function (job: SandboxedJobPro) {
expect(job).to.have.property('gid');
expect(job.opts).to.have.property('group');
Expand Down

0 comments on commit b1432ab

Please sign in to comment.