Options
All
  • Public
  • Public/Protected
  • All
Menu

Module core/queue

Index

Type aliases

FailedJobBatchResponse<Job, Result>: { batch: null | (void | JobResponse<Job, Result>)[]; errors: Error[]; success: false }

Type parameters

  • Job

  • Result

Type declaration

  • batch: null | (void | JobResponse<Job, Result>)[]
  • errors: Error[]
  • success: false
FailedJobResponse<Job, Result>: { error: Error; job: Job; result: Result; success: false }

Type parameters

  • Job

  • Result

Type declaration

  • error: Error
  • job: Job
  • result: Result
  • success: false
JobBatchResponse<Job, Result>: SuccessJobBatchResponse<Job, Result> | FailedJobBatchResponse<Job, Result>

Type parameters

  • Job

  • Result

JobResponse<Job, Result>: SuccessJobResponse<Job, Result> | FailedJobResponse<Job, Result>

Type parameters

  • Job

  • Result

SuccessJobBatchResponse<Job, Result>: { batch: ReadonlyArray<SuccessJobResponse<Job, Result>>; errors: null; success: true }

Type parameters

  • Job

  • Result

Type declaration

SuccessJobResponse<Job, Result>: { error: void; job: Job; result: Result; success: true }

Type parameters

  • Job

  • Result

Type declaration

  • error: void
  • job: Job
  • result: Result
  • success: true

Generated using TypeDoc