Closed chriszrc closed 6 years ago
I'd totally merge a pull request if you are willing to submit it.
Ok, I added a pull request - https://github.com/zemirco/json2csv-stream/pull/15
Could I also draw your attention to this issue to :) https://github.com/zemirco/json2csv-stream/issues/13
I just lost almost a day of debugging streams to finally realize that I couldn't do this:
I didn't realize that
MyStream
needs to be instantiated for each use. So that example worked great on the first request, and then stopped.This then worked great:
A heads up in the docs about reuse of the MyStream object I think would be greatly appreciated-