Setu-TS
    Preparing search index...

    Interface ScheduleOptions<T>

    Options passed when scheduling a job.

    0.1.0

    interface ScheduleOptions<T = unknown> {
        data?: T;
        retry?: RetryOptions;
    }

    Type Parameters

    • T = unknown

      The shape of the job payload

    Index
    data?: T

    Payload data handed to the handler.

    retry?: RetryOptions

    Retry configuration. When absent the job runs once.