Remove Child Dependency
const flow = new FlowProducer({ connection });
const originalTree = await flow.add({
name: 'root-job',
queueName: 'topQueueName',
data: {},
children: [
{
name,
data: { idx: 0, foo: 'bar' },
queueName: 'childrenQueueName',
opts: {},
},
],
});
await originalTree.children[0].job.removeChildDependency();Last updated
Was this helpful?