Exemplo n.º 1
0
 private Task BroadcastAsync <TPacket>(TPacket request) where TPacket : class, IIpcPacket
 {
     return(_client.BroadcastAsync(request));
 }
Exemplo n.º 2
0
 public void DeleteById(long id)
 {
     Client.BroadcastAsync(new RepositoryDeleteRequest <long> {
         ObjectIds = new[] { id }
     }).ConfigureAwait(false).GetAwaiter().GetResult();
 }