2 instantiations of RetryResult
Microsoft.Arcade.Common (2)
IRetryHandler.cs (2)
22
public static RetryResult Success =>
new
(true);
25
=>
new
(false, retryAfter);
8 references to RetryResult
Microsoft.Arcade.Common (8)
ExponentialRetry.cs (3)
44
public Task<bool> RunAsync(Func<int, Task<
RetryResult
>> actionAsync)
50
Func<int, Task<
RetryResult
>> actionAsync,
60
RetryResult
result = await actionAsync(i);
IRetryHandler.cs (5)
13
Func<int, Task<
RetryResult
>> actionAsync);
16
Func<int, Task<
RetryResult
>> actionAsync,
22
public static
RetryResult
Success => new(true);
24
public static
RetryResult
Retry(TimeSpan? retryAfter = null)
27
public static implicit operator
RetryResult
(bool succeeded)