RetryPolicyFactory class
RetryPolicyFactory is a factory class helping generating RetryPolicy objects.
Constructors
Retry |
Creates an instance of RetryPolicyFactory. |
Methods
create(Request |
Constructor Details
RetryPolicyFactory(IRetryOptions)
Creates an instance of RetryPolicyFactory.
new RetryPolicyFactory(retryOptions?: IRetryOptions)
Parameters
- retryOptions
- IRetryOptions
Method Details
create(RequestPolicy, RequestPolicyOptions)
function create(nextPolicy: RequestPolicy, options: RequestPolicyOptions): RetryPolicy
Parameters
- nextPolicy
- RequestPolicy
- options
- RequestPolicyOptions
Returns
RetryPolicy
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for JavaScript