Re: [directory-upload] `getContents` poorly supports directories with many files/subdirectories (#3)

I don't think you need anything from the language. You could just have a simple event emitter with events `"files"`, `"error"`, `"end"` where files will be emitted e.g. per every 10 files. Then if those other APIs ever come, it is trivial to convert event emitter to stream or observable anyway.

---
Reply to this email directly or view it on GitHub:
https://github.com/WICG/directory-upload/issues/3#issuecomment-178060632

Received on Monday, 1 February 2016 16:40:01 UTC