1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-08-15 13:34:53 +02:00

bluebird: Promise.prototype.finally is standard Promise API method (#1509)

This commit is contained in:
Dario Vladović
2020-08-01 16:08:23 +02:00
committed by GitHub
parent 6a1378f310
commit 36337818d9

View File

@@ -18,7 +18,7 @@ promise
.spread(okFn, errFn) // *
.catch(errFn)
.catch(TypeError, errFn) // *
.finally(fn) // *
.finally(fn)
.map(function (e) { ··· }) // *
.each(function (e) { ··· }) // *
```