Setu-TS
    Preparing search index...

    Interface AddJobOptions

    Options accepted when enqueueing a job.

    0.1.0

    interface AddJobOptions {
        delayMs?: number;
        headers?: Readonly<Record<string, string>>;
        maxAttempts?: number;
    }
    Index
    delayMs?: number

    Delay before the job becomes available, in milliseconds.

    headers?: Readonly<Record<string, string>>

    Transport headers to carry with the job, delivered to the processor as IJob.headers.

    Delivery does NOT depend on which capabilities are registered: a map passed here reaches the processor whether or not telemetry is present. With a CAPABILITIES.TELEMETRY provider the framework ADDS a W3C traceparent to whatever the caller supplied, so an enqueued job joins the trace of the request that enqueued it.

    0.5.0

    maxAttempts?: number

    Maximum attempts before the job is dead-lettered.