Method ProcessWithRedb(IRouteDefinition, Func<IRedbService, IExchange, CancellationToken, Task>)

Assembly: redb.Route.Core.dll

Processes the exchange with access to (async).
Resolves a scoped service per exchange when DI scope is available.

public static IRouteDefinition ProcessWithRedb(this IRouteDefinition route, Func<IRedbService, IExchange, CancellationToken, Task> action)