Beignet API reference
    Preparing search index...

    Interface JobHookArgs<J, Ctx>

    Arguments passed to job execution hooks.

    interface JobHookArgs<J extends JobDef, Ctx> {
        attempt?: number;
        ctx: Ctx;
        job: J;
        maxAttempts?: number;
        payload: InferJobPayload<J>;
        signal: AbortSignal;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index
    attempt?: number

    One-based execution attempt when the runner can report it.

    ctx: Ctx

    Handler context.

    job: J

    Job definition being handled.

    maxAttempts?: number

    Maximum execution attempts when the runner can report it.

    payload: InferJobPayload<J>

    Parsed job payload.

    signal: AbortSignal

    Abort signal provided by the Beignet execution runner.