Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Migrate from Task to cancellable Promise #16

Closed
kitsonk opened this issue Sep 9, 2016 · 3 comments
Closed

Migrate from Task to cancellable Promise #16

kitsonk opened this issue Sep 9, 2016 · 3 comments
Milestone

Comments

@kitsonk
Copy link
Member

kitsonk commented Sep 9, 2016

@kitsonk commented on Fri Aug 12 2016

There is now a Stage 1 Proposal to add cancelability to Promise.

We already adjust the native ES6 Promise a bit in core, but we could also adopt the functionality described in the proposal and hope that we can offload this in the future.

This means that Task could be removed and code refactored to use the functionally enhanced Promise.


@novemberborn commented on Fri Aug 12 2016

The proposal adds new syntax so additional support from the TypeScript compiler may be required.

@kitsonk
Copy link
Member Author

kitsonk commented Oct 4, 2016

Related to #21

@kitsonk
Copy link
Member Author

kitsonk commented Nov 2, 2016

There is a proper proposal now, though it is still Stage 1.

@dylans dylans added this to the 2017.01 milestone Jan 12, 2017
@dylans
Copy link
Member

dylans commented Jan 12, 2017

Sadly the proposal was withdrawn due to internal disagreement at Google. So it sounds like we'll keep Task.

@dylans dylans closed this as completed Jan 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants