Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1019 bytes
|
Line | |
---|
1 | /** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
---|
2 | import * as tslib_1 from "tslib";
|
---|
3 | import { Subscriber } from '../Subscriber';
|
---|
4 | export function ignoreElements() {
|
---|
5 | return function ignoreElementsOperatorFunction(source) {
|
---|
6 | return source.lift(new IgnoreElementsOperator());
|
---|
7 | };
|
---|
8 | }
|
---|
9 | var IgnoreElementsOperator = /*@__PURE__*/ (function () {
|
---|
10 | function IgnoreElementsOperator() {
|
---|
11 | }
|
---|
12 | IgnoreElementsOperator.prototype.call = function (subscriber, source) {
|
---|
13 | return source.subscribe(new IgnoreElementsSubscriber(subscriber));
|
---|
14 | };
|
---|
15 | return IgnoreElementsOperator;
|
---|
16 | }());
|
---|
17 | var IgnoreElementsSubscriber = /*@__PURE__*/ (function (_super) {
|
---|
18 | tslib_1.__extends(IgnoreElementsSubscriber, _super);
|
---|
19 | function IgnoreElementsSubscriber() {
|
---|
20 | return _super !== null && _super.apply(this, arguments) || this;
|
---|
21 | }
|
---|
22 | IgnoreElementsSubscriber.prototype._next = function (unused) {
|
---|
23 | };
|
---|
24 | return IgnoreElementsSubscriber;
|
---|
25 | }(Subscriber));
|
---|
26 | //# sourceMappingURL=ignoreElements.js.map
|
---|
Note:
See
TracBrowser
for help on using the repository browser.