Method Metered(string, Func<IExchange, CancellationToken, Task>)

Assembly: redb.Route.dll

Inline metering — wraps an asynchronous action in a MeteredStepProcessor tagged with stepName.

IRouteDefinition Metered(string stepName, Func<IExchange, CancellationToken, Task> action)