public async Task <int> Retry_Asynchronous_With_Result_Succeeds_With_CancellationToken() { return(await AsyncPolicy.ExecuteAsync((token) => Workloads.FuncAsync <int>(token), CancellationToken.None)); }
public async Task <int> Fallback_Asynchronous_Succeeds() { return(await AsyncPolicy.ExecuteAsync(() => Workloads.FuncAsync <int>())); }
public async Task <int> Retry_Asynchronous_With_Result_Succeeds() { return(await AsyncPolicy.ExecuteAsync(() => Workloads.FuncAsync <int>())); }
public async Task <int> Bulkhead_Asynchronous_With_Result() { return(await AsyncPolicy.ExecuteAsync(() => Workloads.FuncAsync <int>())); }