3 ms·
Why you want stuff which is not in the spec? It's not in the spec it's not in the polyfill :/ Why the fetch from Github is not good enough for you?
by therealmarv 10y ago
Why you want stuff which is not in the spec? It's not in the spec it's not in the polyfill :/ Why the fetch from Github is not good enough for you?
- nilliams 10y agoBecause needing to do something regardless of success or failure is incredibly common (e.g. stop a progress bar, re-enable form inputs & buttons). The (promises) spec is lacking w.r.t. this use-case, and most ajax libraries (and a lot or promise libraries) recognise this by implementing a 'finally' equivalent.