<PackageReference Include="Polly.Core" Version="8.1.0" />

MonkeyStrategy<T>

abstract class MonkeyStrategy<T> : ResilienceStrategy<T>
This base strategy class is used to simplify the implementation of generic (reactive) strategies by limiting the number of generic types the execute method receives.

Initializes a new instance of the MonkeyStrategy<T> class.

Determines whether or not the chaos strategy should be injected based on the injection rate and enabled flag.