- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 10 Mar 2015 01:13:33 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 10 March 2015 08:14:05 UTC
> Do we support a platform which has a BYOB async read but doesn't have a sync cancel-read?
Hmm, I think so. At least I am not sure how to cancel an ongoing read(2) call. But I do not know my Unix APIs all that well :-/.
> If we do, we cannot get back the buffer from the platform until the read ends.
Yeah, as @tyoshino says, I think it is OK for the promises to take a while to fulfill with `{ value: view, done: true }`, as long as they do eventually.
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/253#issuecomment-78011081
Received on Tuesday, 10 March 2015 08:14:05 UTC