The wait between attempts; replace it in tests so they run in milliseconds.
typedef RetrySleep = Future<void> Function(Duration delay);