bunqueue v2.8 API referenceall versions · guide
bunqueue
    Preparing search index...

    Interface FlowJob<T>

    FlowJob - BullMQ v5 compatible flow job definition. Children are processed BEFORE the parent.

    interface FlowJob<T = unknown> {
        children?: FlowJob<T>[];
        data?: T;
        name: string;
        opts?: JobOptions;
        queueName: string;
    }

    Type Parameters

    • T = unknown
    Index
    children?: FlowJob<T>[]

    Child jobs (processed BEFORE this job)

    data?: T

    Job data

    name: string

    Job name

    opts?: JobOptions

    Job options

    queueName: string

    Queue name