Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2bd93d5

Browse filesBrowse files
committed
comment was added
1 parent 36a6fa4 commit 2bd93d5
Copy full SHA for 2bd93d5

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎libs/state/src/lib/rx-state.service.ts

Copy file name to clipboardExpand all lines: libs/state/src/lib/rx-state.service.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ export class RxState<T extends object> implements OnDestroy, Subscribable<T> {
589589
): void {
590590
const sideEffect = obsOrObsWithSideEffect.pipe(
591591
catchError((e) => {
592+
// used injector for compatibility with https://github.com/rx-angular/rx-angular/blob/master/libs/state/docs/usage.md#inherit
592593
const errorHandler = inject(ErrorHandler, InjectFlags.Optional);
593594
errorHandler?.handleError(e);
594595
return EMPTY;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.