internal ValueTask WriteManyAsync <T>(IMessageWriter <T> writer, IEnumerable <T> messages, CancellationToken token = default)
 {
     return(Writer.WriteManyAsync(writer, messages, token));
 }
Пример #2
0
 public ValueTask WriteManyAsync(IEnumerable <INetworkMessage> messages, CancellationToken cancellationToken = default)
 {
     return(_writer.WriteManyAsync(_messageWriter, messages, cancellationToken));
 }