aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm5/internal/operators/catchError.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/esm5/internal/operators/catchError.js')
-rw-r--r--node_modules/rxjs/dist/esm5/internal/operators/catchError.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/node_modules/rxjs/dist/esm5/internal/operators/catchError.js b/node_modules/rxjs/dist/esm5/internal/operators/catchError.js
deleted file mode 100644
index 646352f..0000000
--- a/node_modules/rxjs/dist/esm5/internal/operators/catchError.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import { innerFrom } from '../observable/innerFrom';
-import { createOperatorSubscriber } from './OperatorSubscriber';
-import { operate } from '../util/lift';
-export function catchError(selector) {
- return operate(function (source, subscriber) {
- var innerSub = null;
- var syncUnsub = false;
- var handledResult;
- innerSub = source.subscribe(createOperatorSubscriber(subscriber, undefined, undefined, function (err) {
- handledResult = innerFrom(selector(err, catchError(selector)(source)));
- if (innerSub) {
- innerSub.unsubscribe();
- innerSub = null;
- handledResult.subscribe(subscriber);
- }
- else {
- syncUnsub = true;
- }
- }));
- if (syncUnsub) {
- innerSub.unsubscribe();
- innerSub = null;
- handledResult.subscribe(subscriber);
- }
- });
-}
-//# sourceMappingURL=catchError.js.map \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage