ZH
测试版翻译

@core / jobs

1.1.0 ▾
已验证MIT
GitHub

基于 Postgres 的后台任务:持久队列、退避重试、cron 计划和无服务器 cron 端点

代码9 个文件上下文约 696 个 token扫描通过

应用 .genpmignore 后将被注入的确切目录树。固定于

src/lib/jobs/index.ts只读 · eef017d
// @core/jobs — API pública. Importa desde aquí; endpoint de cron en adapters/hono.ts y adapters/next.ts.
export { isAuthorizedCron } from './cron-auth.ts';
export {
  backoffMs,
  claimJobs,
  claimScheduleTick,
  defineJob,
  type EnqueueOptions,
  enqueue,
  failExhaustedJobs,
  type JobHandle,
  nextCronDate,
  pruneJobs,
  type RunResult,
  retryJob,
  runDue,
  runWorker,
  schedule,
  unschedule,
} from './queue.ts';
export { clearJobs, getJob, type JobContext } from './registry.ts';
export { type Job, type JobSchedule, jobSchedules, jobs } from './schema.ts';

举报 @core/jobs

使用 GitHub 登录后才能举报包。