ConstantRetryPolicy constructor

ConstantRetryPolicy(
  1. {required int maxRetries,
  2. required Duration delayInSeconds}
)

Default constructor for ConstantRetryPolicy.

Params:

  • maxRetries: the maximum number of retries.
  • delayInSeconds: the time interval between retries in seconds.

Implementation

factory ConstantRetryPolicy