- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 28 May 2015 20:26:53 -0700
- To: w3c/filesystem-api <filesystem-api@noreply.github.com>
Received on Friday, 29 May 2015 03:27:20 UTC
https://github.com/zenparsing/async-iteration/ is where async iterable is proposed. The difference is that with an observable the creator of the observable defines the pace at which "events" are produced (push), whereas with an async iterable, the consumer defines the pace at which work is performed. The latter is a much better match for filesystem APIs, e.g. Windows's FindFirstFileEx/FindNextFile/CloseFind, or POSIX opendir/readdir. In these cases the async iterable's `.next()` would map pretty directly to FindFirstFileEx/FindNextFile and readdir. /cc @zenparsing --- Reply to this email directly or view it on GitHub: https://github.com/w3c/filesystem-api/issues/4
Received on Friday, 29 May 2015 03:27:20 UTC