<PackageReference Include="Polly" Version="7.2.0" />

ResultPredicate<TResult>

public sealed delegate ResultPredicate<TResult> : MulticastDelegate
A predicate that can be run against a passed result value of type TResult. Predicates are used to define whether policies handle the given result.
public ResultPredicate(object object, IntPtr method)

public virtual IAsyncResult BeginInvoke(TResult result, AsyncCallback callback, object object)

public virtual bool EndInvoke(IAsyncResult result)

public virtual bool Invoke(TResult result)