0no-co / wonka

🎩 A tiny but capable push & pull stream library for TypeScript and Flow
MIT License
709 stars 29 forks source link

Use arrow functions instead of functions #124

Closed Tigge closed 2 years ago

Tigge commented 2 years ago

There doesn't seem to be a need for actual functions anywhere. Might be convenient to just use arrow functions instead. I can do the other solution with this: void instead if you'd prefer that. Let me know!

So, zip got a little weirder with this solution but everything else looks quite good.

Fixes #123