Re: [whatwg/streams] "Resolve startResult as a promise:" (#532)

> This is ugly and I was wondering what to do about it.

I think the best pattern for that is this one: https://github.com/whatwg/streams/blob/ba1e784ec2761fa7e992c80e1c3ef0f10b991ce1/reference-implementation/to-upstream-wpts/writable-streams/bad-underlying-sinks.js#L51-L64

> Is it okay for the spec to use w3.org/.../promises-guide as the definition for that terminology?

Yeah; that's stated in https://streams.spec.whatwg.org/#conventions. We should probably work to make them link to their definitions.

-- 
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/532#issuecomment-253323143

Received on Wednesday, 12 October 2016 20:06:46 UTC