tc39 / proposal-async-iteration

Asynchronous iteration for JavaScript
https://tc39.github.io/proposal-async-iteration/
MIT License
859 stars 44 forks source link

Fix sometimes returning an iterator instead of an iterator Record #121

Closed domenic closed 6 years ago

domenic commented 6 years ago

This is a follow-up to #119. Closes #120.

@Jamesernator great catch; does this look good to you? (There's only one call site so I thought this was a bit nicer than your suggestion.)

Jamesernator commented 6 years ago

Looks good to me.