Closed xloem closed 4 years ago
I don't think node 8 did async iteration yet, despite supporting the object structures with streams, and it's still included with ubuntu 18 LTS.
So, something like this might be nice:
while (data = await bluestream.next(stream)) { ... }
oh! I see that would be readAsync(1). Sorry =)
readAsync(1)
I don't think node 8 did async iteration yet, despite supporting the object structures with streams, and it's still included with ubuntu 18 LTS.
So, something like this might be nice: