internal ValueTask WriteManyAsync <T>(IMessageWriter <T> writer, IEnumerable <T> messages, CancellationToken token = default) { return(Writer.WriteManyAsync(writer, messages, token)); }
public ValueTask WriteManyAsync(IEnumerable <INetworkMessage> messages, CancellationToken cancellationToken = default) { return(_writer.WriteManyAsync(_messageWriter, messages, cancellationToken)); }