IConsumerThrottlingThresholdActionConfigurationBuilder.Apply method
Configures the action to apply when the throttling threshold is met. The factory function takes an instance of IDependencyResolver, allowing you to resolve dependencies required to create an instance of IConsumerThrottlingAction
.
public void Apply(Func<IDependencyResolver, IConsumerThrottlingAction> factory)
parameter | description |
---|---|
factory | A factory function that accepts an IDependencyResolver and returns an IConsumerThrottlingAction . |