-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EventWriter::flush() #167
Comments
I'd really like an I realize this would easily let you construct invalid XML, but I'm ok with that. |
Sure, that would work for me.. |
Yes, I think adding |
|
Great, thank you so much. |
It would be handy if
EventWriter
implemented aflush()
method, that would just flush the underlying sink.My use-case is a long-running measurement application that occasionally saves a complex XML element into a file backed by a
BufWriter
. I'd like to flush the writer each time I save a new element so I have the relevant info stored in case of failure.The text was updated successfully, but these errors were encountered: