Kagami Rosylight (2017-05-08T06:05:29.000Z)
saschanaz at outlook.com (2017-05-08T06:06:23.712Z)
>So by default, promises must not be cancellable. With some API change now the proposal allows this, similar to other token based proposals: ```js // if you don’t want to allow other consumers cancel this call // for security reasons or whatever, you can disallow it by // creating chain explicitly: function foo() { const chain = new CancelableChain(); // here myFetch() will register to cancellation chain and will be canceled // by chain.cancel() return myFetch(“url”, { chain }); } ```