On Mon, Jul 27, 2015 at 4:02 AM, Greg Weng <[email protected]> wrote:
> Is it possible to propose an "Abortable" Promise? There are so many > cases in Gaia we need to wrap Promise with our own libraries to > implement that, especially when the control flow need to weave events > in. > Not yet, but it seems something will eventually be added for fetch(): https://github.com/whatwg/fetch/issues/27 Its a bit of a contentious issue (as you can see from the length of that issue). But it should come eventually. Ben
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
