Skip to content

Commit

Permalink
Adds the catch operator to the README (#87)
Browse files Browse the repository at this point in the history
Co-authored-by: Dominic Farolino <[email protected]>
  • Loading branch information
benlesh and domfarolino authored Jun 12, 2024
1 parent 187e4eb commit 98a4f07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,10 @@ If the subscriber has already been aborted (i.e., `subscriber.signal.aborted` is

We propose the following operators in addition to the `Observable` interface:

- `catch()`
- Like `Promise#catch()`, it takes a callback which gets fired after the source
observable errors. It will then map to a new observable, returned by the callback,
unless the error is rethrown.
- `takeUntil(Observable)`
- Returns an observable that mirrors the one that this method is called on,
until the input observable emits its first value
Expand Down

0 comments on commit 98a4f07

Please sign in to comment.