private async Task HandleEventAsync(EventBase @event) { using (fLogger.TrackRequest(@event.GetContext(), $"SignalR - Authority client event - '{@event.GetType()}'.", out var requestContext)) { try { @event.ChangeContext(requestContext); using var scope = fServiceProvider.CreateScope(); var reactionFacade = scope.ServiceProvider.GetRequiredService <IEventReactionFacade>(); await reactionFacade.ReactAsync(@event, fState.CancellationSource.Token); requestContext.Success(); } catch { requestContext.Fail(); throw; } } }