Create a new Retry instance
A new Retry instance
!TypeError If the options are invalid
The task to retry
Optional
The options to use
Generated using TypeDoc
Create a new Retry instance
Returns
A new Retry instance
Throws
!TypeError If the options are invalid