Clarity
This commit is contained in:
parent
3b14ed8185
commit
8ef9fd28dc
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ The call `.catch(f)` is a complete analog of `.then(null, f)`, it's just a short
|
||||||
|
|
||||||
### finally
|
### finally
|
||||||
|
|
||||||
Just like there's a finally clause in a regular `try {...} catch {...}`, there's `finally` in promises.
|
Just like there's a `finally` clause in a regular `try {...} catch {...}`, there's `finally` in promises.
|
||||||
|
|
||||||
The call `.finally(f)` is similar to `.then(f, f)` in the sense that it always runs when the promise is settled: be it resolve or reject.
|
The call `.finally(f)` is similar to `.then(f, f)` in the sense that it always runs when the promise is settled: be it resolve or reject.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue