Sporades SDK API
    Preparing search index...

    Type Alias SchedulePayloadFactory<Schema>

    SchedulePayloadFactory: (
        occurrence: ScheduleOccurrence,
        ctx: ScheduleContext<Schema>,
    ) => MaybePromise<JsonValue>

    Calculates ordinary Job input for one occurrence. Factories are for dynamic data population, may run more than once during recovery, and should avoid state mutation. Explicit Privileged side effects must tolerate repetition. Timeout cancellation is cooperative and cannot undo completed side effects.

    Type Parameters

    Type Declaration