Method OnStart(IRouteContext, CompiledRoute, CancellationToken)
Called before the route consumer is started. Throw to prevent startup.
public virtual Task OnStart(IRouteContext context, CompiledRoute route, CancellationToken ct)
Called before the route consumer is started. Throw to prevent startup.
public virtual Task OnStart(IRouteContext context, CompiledRoute route, CancellationToken ct)