Closed jakobnissen closed 2 years ago
We should have a way to flush a writer that does not close the underlying IO.
Turns out it's super easy:
function Base.flush(writer::Writer) write(writer.output, TranscodingStreams.TOKEN_END) flush(writer.output) end
I'll add it in the v2 PR
We should have a way to flush a writer that does not close the underlying IO.