using Microsoft.AspNetCore.SignalR; namespace RadicadeServer.API.Notifications { public sealed class NotifyHubInvocationFilter : IHubFilter { public async ValueTask InvokeMethodAsync( HubInvocationContext invocationContext, Func> next) { try { return await next(invocationContext); } catch (Exception) { return null; } } } }