Options
All
  • Public
  • Public/Protected
  • All
Menu

@hokify/agenda

Index

Type aliases

DefinitionProcessor<DATA, CB>: (agendaJob: Job<DATA>, done: CB) => CB extends void ? Promise<void> : void

Type parameters

  • DATA

  • CB

Type declaration

    • (agendaJob: Job<DATA>, done: CB): CB extends void ? Promise<void> : void
    • Parameters

      • agendaJob: Job<DATA>
      • done: CB

      Returns CB extends void ? Promise<void> : void

JobWithId: Job & { attrs: IJobParameters & { _id: ObjectId } }
TJobDatefield: keyof Pick<IJobParameters, "lastRunAt" | "lastFinishedAt" | "nextRunAt" | "failedAt" | "lockedAt">

Variables

datefields: TJobDatefield[] = ...

Generated using TypeDoc