Beignet API reference
    Preparing search index...

    Function createJobs

    • Create job helper methods bound to an application context type.

      Call it once in lib/jobs.ts:

      export const { defineJob } = createJobs<AppContext>();
      

      Retry options describe the job's retry policy. Inline dispatchers run the policy in-process with real delays; durable providers map the policy onto their own runtime and reject options they cannot honor.

      Type Parameters

      • Ctx

      Returns Jobs<Ctx>