App-vNext / Polly-Samples

Provides sample implementations of the Polly library. The intent of this project is to help newcomers kick-start their use of Polly within their own projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Finalize (OnSuccess Action) the WaitAndRetryAsync with a WrapAsync Policy

BartHuls opened this issue · comments

I have a FallbackAsync Policy combined with a WaitAndRetryAsync Policy.
Both Policies are wrapped together with WrapAsync.
FallbackPolicy.WrapAsync(RetryPolicy). This works.

Is have a need to add some Finalizer eq. When the WaitAndRetryAsync succeeds like the fallbackAction but in the WaitAndRetryAsync