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

native await? #25

Closed lukiano closed 5 years ago

lukiano commented 5 years ago

Hi, I noticed that in the javascript code of your package (under dist/), there are no native await keywords, but the helpers generated by the Typescript compiler. Is this done on purpose?

reconbot commented 5 years ago

I want to support node 8, which supports await but doesn't support for await. Not aware of a half measure that uses the native await but polyfills for await

reconbot commented 5 years ago

I changed the build scrips for 4.0 to bundle the functions into one file that shares the helper functions. I do wish to drop node 8 at some point, but can't right now.

imcotton commented 5 years ago

Would be possible to bump version into 5 for TS targeting to es2018 & dropping node 8, but leaves v4.x untouched?