Skip to main content
Dotset Labs home page
Search...
⌘K
GitHub
GitHub
Search...
Navigation
Function: getRetryDelay
Documentation
GitHub
npm
Introduction
Introduction
Quickstart
Installation
Shield
CLI Commands
Concepts
CI/CD Guides
Security
Tollgate
CLI Commands
Concepts
Integration Guides
Security
API Reference
API Reference
Shield API
Tollgate API
On this page
Function: getRetryDelay()
Parameters
error
attempt
Returns
Function: getRetryDelay
Dotset CLI API Documentation
/
index
/ getRetryDelay
Function: getRetryDelay()
Copy
function
getRetryDelay
(
error
,
attempt
)
:
number
;
Defined in: src/shield/errors/index.ts:521
Get suggested wait time before retry
Parameters
error
attempt
number
Returns
number
⌘I