Skip to content

Commit

Permalink
Update documentation about finally
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Dec 19, 2023
1 parent 1ebb902 commit d564481
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,10 @@ We propose the following operators in addition to the `Observable` interface:
until the input observable emits its first value
- `finally()`
- Like `Promise.finally()`, it takes a callback which gets fired after the
observable completes in any way (`complete()`/`error()`)
observable completes in any way (`complete()`/`error()`).
- Returns an `Observable`, because observable is lazy, finalization
is setup ahead of subscription. This allows for specific finalization to
happen after each step in a reactive chain.

Versions of the above are often present in userland implementations of
observables as they are useful for observable-specific reasons, but in addition
Expand Down

0 comments on commit d564481

Please sign in to comment.