Stoyan Kolev

Results 2 comments of Stoyan Kolev

Hello again, I have a solution for this Issue: ```js export async function promiseStateAsync(promise) { if (!(typeof promise === 'object' && typeof promise.then === 'function')) { throw new TypeError(`Expected a...

It turns out my solution is flawed because `.finally` always throws an unhandled rejection when its parent promise rejects (it doesn't matter if the parent promise has `.catch` handle), unless...