diff options
Diffstat (limited to 'node_modules/rxjs/dist/esm5/internal/operators/takeWhile.js')
| -rw-r--r-- | node_modules/rxjs/dist/esm5/internal/operators/takeWhile.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/node_modules/rxjs/dist/esm5/internal/operators/takeWhile.js b/node_modules/rxjs/dist/esm5/internal/operators/takeWhile.js deleted file mode 100644 index 855c606..0000000 --- a/node_modules/rxjs/dist/esm5/internal/operators/takeWhile.js +++ /dev/null @@ -1,14 +0,0 @@ -import { operate } from '../util/lift'; -import { createOperatorSubscriber } from './OperatorSubscriber'; -export function takeWhile(predicate, inclusive) { - if (inclusive === void 0) { inclusive = false; } - return operate(function (source, subscriber) { - var index = 0; - source.subscribe(createOperatorSubscriber(subscriber, function (value) { - var result = predicate(value, index++); - (result || inclusive) && subscriber.next(value); - !result && subscriber.complete(); - })); - }); -} -//# sourceMappingURL=takeWhile.js.map
\ No newline at end of file |
