Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
345 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /** PURE_IMPORTS_START PURE_IMPORTS_END */
|
---|
| 2 | export var subscribeToArray = function (array) {
|
---|
| 3 | 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 | };
|
---|
| 10 | //# sourceMappingURL=subscribeToArray.js.map
|
---|
Note:
See
TracBrowser
for help on using the repository browser.