Beignet API reference
    Preparing search index...

    Interface CreateInngestJobFunctionsOptions<Ctx>

    Options for creating Inngest functions from a collection of Beignet jobs.

    interface CreateInngestJobFunctionsOptions<Ctx> {
        client: Inngest;
        ctx?: InngestJobFunctionContext<Ctx>;
        errorReporter?: InngestJobFunctionErrorReporter;
        hooks?: readonly JobHook<JobDef<string, StandardSchema, Ctx>, Ctx>[];
        instrumentation?: InngestJobFunctionInstrumentation;
        jobs: readonly JobDef<string, StandardSchema, Ctx>[];
    }

    Type Parameters

    • Ctx
    Index
    client: Inngest

    Raw Inngest client shared with the jobs provider.

    Static or request-aware context shared by every job function.

    Reporter for terminal failures after provider retries are exhausted.

    hooks?: readonly JobHook<JobDef<string, StandardSchema, Ctx>, Ctx>[]

    Hooks that wrap every job attempt in the collection.

    Optional static or lazy provider instrumentation target.

    jobs: readonly JobDef<string, StandardSchema, Ctx>[]

    Beignet jobs exposed through the Inngest function endpoint.