- From: Kyle Simpson <notifications@github.com>
- Date: Mon, 30 Mar 2015 10:31:15 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Monday, 30 March 2015 17:31:38 UTC
> why my proposal that exposes cancel-ability only if internally provided wouldn't work, exactly? You never addressed my earlier concern than a general implicitly-creating-promise type mechanism, like `async function`, provides no clear way to tell the promise "make me cancelable" in any useful way. `fetch(..)` can do so by adding some explicit parameter to its API, which it automatically funnels into its promise. But a general `async function` cannot, not without ugly side-effects on composability/signature design. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/27#issuecomment-87762586
Received on Monday, 30 March 2015 17:31:38 UTC