@@ -75,11 +75,10 @@ public struct RetryAction<Duration: DurationProtocol> {
7575/// }
7676/// ```
7777@available ( iOS 16 . 0 ,  macCatalyst 16 . 0 ,  macOS 13 . 0 ,  tvOS 16 . 0 ,  visionOS 1 . 0 ,  watchOS 9 . 0 ,  * )  
78- @inlinable   public  func  retry< Result,  ErrorType,  ClockType> ( 
78+ @inlinable   nonisolated ( nonsending )   public  func  retry< Result,  ErrorType,  ClockType> ( 
7979  maxAttempts:  Int , 
8080  tolerance:  ClockType . Instant . Duration ? =  nil , 
8181  clock:  ClockType , 
82-   isolation:  isolated ( any  Actor ) ? =  #isolation, 
8382  operation:  ( )  async  throws ( ErrorType )  ->  Result , 
8483  strategy:  ( ErrorType )  ->  RetryAction < ClockType . Instant . Duration >  =  {  _ in  . backoff( . zero)  } 
8584)  async  throws  ->  Result  where  ClockType:  Clock ,  ErrorType:  Error  { 
@@ -151,10 +150,9 @@ public struct RetryAction<Duration: DurationProtocol> {
151150/// }
152151/// ```
153152@available ( iOS 16 . 0 ,  macCatalyst 16 . 0 ,  macOS 13 . 0 ,  tvOS 16 . 0 ,  visionOS 1 . 0 ,  watchOS 9 . 0 ,  * )  
154- @inlinable   public  func  retry< Result,  ErrorType> ( 
153+ @inlinable   nonisolated ( nonsending )   public  func  retry< Result,  ErrorType> ( 
155154  maxAttempts:  Int , 
156155  tolerance:  ContinuousClock . Instant . Duration ? =  nil , 
157-   isolation:  isolated ( any  Actor ) ? =  #isolation, 
158156  operation:  ( )  async  throws ( ErrorType )  ->  Result , 
159157  strategy:  ( ErrorType )  ->  RetryAction < ContinuousClock . Instant . Duration >  =  {  _ in  . backoff( . zero)  } 
160158)  async  throws  ->  Result  where  ErrorType:  Error  { 
0 commit comments