Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SandboxedJob<T, R>

Type parameters

  • T = any

  • R = any

Hierarchy

  • Omit<JobJson, "data" | "opts" | "progress" | "returnValue">
    • SandboxedJob

Index

Properties

attemptsMade: number
data: T
failedReason: string
finishedOn?: number
id: string
name: string
parentKey?: string
processedOn?: number
progress: (() => number | object) | ((value: number | object) => Promise<void>)
repeatJobKey?: string
returnValue: R
returnvalue: string
stacktrace: string
timestamp: number

Methods

  • log(row: any): void
  • updateProgress(value: number | object): Promise<void>

Generated using TypeDoc