FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/jobs / JobRetryContext

Type Alias: JobRetryContext

JobRetryContext = object

Context passed to a retry function after a job failure.

Properties

attempt

attempt: number

The current attempt number (1-indexed).

error

error: Error

The error that caused the failure.

job

job: JobRecord

The job record at the time of failure.