- From: Mattias Buelens <notifications@github.com>
- Date: Fri, 31 Jan 2020 14:02:45 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 31 January 2020 22:02:48 UTC
I think `sync()` would be a good addition. I haven't yet run into a use case for it myself though, so I don't have any examples other than the ones you've already mentioned. I'm not sure about the name. I would have liked `flush()`, but that already has a meaning for transform streams. `yield()` could work, but that could get confusing with the `yield` keyword (although the same could be said of `Promise.catch()`, `Promise.finally()` and `Iterator.return()`). Anyway, this might just be me bikeshedding. 😅 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/960#issuecomment-580930129
Received on Friday, 31 January 2020 22:02:48 UTC