public Task NotifyPixel(PixelNotification notification) { return(Task.WhenAll ( Clients .Group(notification.GameId) .OnNotifyPixel(new { X = notification.X, Y = notification.Y, Color = notification.Color, Type = notification.Type, Points = notification.Points, Player = notification.UserName }) )); }
public Task NotifyPixel(PixelNotification notification) { return(SafeInvoke(nameof(NotifyPixel), notification)); }