Setu-TS
    Preparing search index...

    Interface ScheduledJob<T>

    A scheduled job instance handed to the handler.

    0.1.0

    interface ScheduledJob<T = unknown> {
        attempts: number;
        data: T;
        id: string;
        name: string;
    }

    Type Parameters

    • T = unknown

      The shape of the job payload

    Index
    attempts: number

    Current attempt number (1-based).

    data: T

    Payload data supplied by the caller.

    id: string

    Unique job identifier.

    name: string

    Human-readable job name.