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 / JobRetry

Type Alias: JobRetry

JobRetry = number | JobRetryOptions | ((context) => Date | number | Promise<Date | number>)

Retry strategy — a fixed delay in milliseconds, exponential backoff options, or a custom function that receives the failure context and returns a delay or a specific retry date.