bustle / streaming-iterables

A Swiss army knife for async iterables. Designed to replace your streams.
https://www.npmjs.com/package/streaming-iterables
MIT License
43 stars 4 forks source link

chore(writeToStream): improve failing early & perf #35

Closed reconbot closed 5 years ago

reconbot commented 5 years ago

In writeToStream() check for errors without using await for a slight perf boost, bail one iteration earlier during a failure

cc @dotboris