public async global::System.Threading.Tasks.Task emitZipkinBatchAsync(List <global::Jaeger.Thrift.Agent.Zipkin.Span> spans, CancellationToken cancellationToken = default) { await OutputProtocol.WriteMessageBeginAsync(new TMessage("emitZipkinBatch", TMessageType.Oneway, SeqId), cancellationToken); var args = new InternalStructs.emitZipkinBatchArgs() { Spans = spans, }; await args.WriteAsync(OutputProtocol, cancellationToken); await OutputProtocol.WriteMessageEndAsync(cancellationToken); await OutputProtocol.Transport.FlushAsync(cancellationToken); }