Create job helper methods bound to an application context type.
Call it once in lib/jobs.ts:
lib/jobs.ts
export const { defineJob } = createJobs<AppContext>(); Copy
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.
Create job helper methods bound to an application context type.
Call it once in
lib/jobs.ts: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.