We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c75fc64 commit f32aca6Copy full SHA for f32aca6
Sources/AsyncAlgorithms/Retry/Backoff.swift
@@ -21,7 +21,7 @@ public protocol BackoffStrategy<Duration> {
21
22
@available(iOS 16.0, macCatalyst 16.0, macOS 13.0, tvOS 16.0, visionOS 1.0, watchOS 9.0, *)
23
extension BackoffStrategy {
24
- public mutating func duration(_ attempt: Int, using generator: inout some RandomNumberGenerator) -> Duration {
+ @inlinable public mutating func duration(_ attempt: Int, using generator: inout some RandomNumberGenerator) -> Duration {
25
return duration(attempt)
26
}
27
0 commit comments