Last change
on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
350 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 3 | exports.subscribeToArray = function (array) { return function (subscriber) {
|
---|
| 4 | for (var i = 0, len = array.length; i < len && !subscriber.closed; i++) {
|
---|
| 5 | subscriber.next(array[i]);
|
---|
| 6 | }
|
---|
| 7 | subscriber.complete();
|
---|
| 8 | }; };
|
---|
| 9 | //# sourceMappingURL=subscribeToArray.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.