Skip to main content
Version: 3.x

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)
parameterdescription
factoryA factory function that accepts an IDependencyResolver and returns an IConsumerThrottlingAction.

See Also