Closed JakeChampion closed 7 years ago
Thanks, I'll implement it ASAP.
ES6 is locked, so it should be a part of ES7 or somehow. I'm sorry that I'm a little outdated.
So I don't know, where to implement it, as an extension or inside the core. I need more information. I did some research on the internet, nothing seems helpful. I even can't figure out it's ES7 or ES-Next.
It's not in ES2016/ES7, only two Math methods were added to ES2016/ES7. It will hopefully enter Stage 3 at some point this year.
Criteria to move to Stage 3:
It is up to you where to implement it. I imagine people would be confused if they had to install Yaku and a Yaku plugin to get ES-Promises working.
Uh, it should be inside the core.
@ysmood Do you need some help with this feature at all?
Yes, I need some help. The performance is my main concern.
The two extra closure makes me headache. I may merge the finally branch if I have time to add more test cases.
@JakeChampion I published the version v0.17.0 with the newly added finally
support. Hope its not too late.
Thanks!
Looks to fail some tests in these browsers:
• ie/11
• ie/10
• ie/9
• ie/8
• android/4.4
May I see the error information?
Rerunning the test suite now as I had some configuration errors which reported lots of false positives. Apologies if it turns out everything is working.
Tests pass on all except IE8 which seems to hang
I will double check it later.
When do we consider adding
finally
toyaku
? https://github.com/tc39/proposal-promise-finallyFrom
yaku
readme: