Re: [filesystem-api] Observable is not appropriate for directory listing; async iterable would be better (#4)

Pinging @wycats 

JH

> On Jul 16, 2015, at 10:06 AM, Arun Ranganathan <notifications@github.com> wrote:
> 
> I will open a libuv issue to see if we can get those in libuv at least.
> 
> D: if these issue(s) are set up, I'd love a pointer to them. I've trawled libuv/libuv and come up empty.
> 
> We're going to have to have an interim API in the places where Observable is used, till platform considerations stabilize. I think I'm coming around to the idea that AsyncIterator might be more useful here. It might be confusing if the platform had both, since the specific messaging would be drowned out by "this makes asynchronous programming better and easier."
> 
> In particular, here's the MSFT proposal for promises returning sequence parametrized types for Directory iteration: 
> https://microsoftedge.github.io/directory-upload/proposal.html#faq
> 
> I'm going to rewrite the API a bit in Directory (and I'll file a separate issue for that) so that we can have an interim API. Doing that closes this issue for now.
> 
> —
> Reply to this email directly or view it on GitHub.
> 


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/filesystem-api/issues/4#issuecomment-126538234

Received on Friday, 31 July 2015 01:47:28 UTC