public async Task <IEnumerable <string> > GetCurrentJoinedGroupsAsync()
 {
     return(await _clusterClient.GetClient <SampleHub>(Context.ConnectionId).GetGroupNamesAsync());
 }
 public override Task SendConnectionAsync(string connectionId, string methodName, object[] args, CancellationToken cancellationToken = default)
 {
     return(_clusterClient.GetClient(connectionId, _hubTypeId).SendConnectionAsync(methodName, args));
 }