File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -394,27 +394,27 @@ export class TodosPageComponent {
394
394
395
395
### filterSuccessResult
396
396
397
- The ` filterSuccess ` operator is useful when you want to filter only successful results:
397
+ The ` filterSuccessResult ` operator is useful when you want to filter only successful results:
398
398
399
- ` todosService.getTodos().result$.pipe(filterSuccess ()) `
399
+ ` todosService.getTodos().result$.pipe(filterSuccessResult ()) `
400
400
401
401
### filterErrorResult
402
402
403
- The ` filterError ` operator is useful when you want to filter only error results:
403
+ The ` filterErrorResult ` operator is useful when you want to filter only error results:
404
404
405
- ` todosService.getTodos().result$.pipe(filterError ()) `
405
+ ` todosService.getTodos().result$.pipe(filterErrorResult ()) `
406
406
407
407
### tapSuccessResult
408
408
409
- The ` tapSuccess ` operator is useful when you want to run a side effect only when the result is successful:
409
+ The ` tapSuccessResult ` operator is useful when you want to run a side effect only when the result is successful:
410
410
411
- ` todosService.getTodos().result$.pipe(tapSuccess (console.log)) `
411
+ ` todosService.getTodos().result$.pipe(tapSuccessResult (console.log)) `
412
412
413
413
### tapErrorResult
414
414
415
- The ` tapErrorResult ` operator is useful when you want to run a side effect only when the result is successful :
415
+ The ` tapErrorResult ` operator is useful when you want to run a side effect only when the result is erroring :
416
416
417
- ` todosService.getTodos().result$.pipe(tapError (console.log)) `
417
+ ` todosService.getTodos().result$.pipe(tapErrorResult (console.log)) `
418
418
419
419
### mapResultData
420
420
You can’t perform that action at this time.
0 commit comments