source:
trip-planner-front/node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 254 bytes |
Line | |
---|---|
1 | export const subscribeToArray = (array) => (subscriber) => { |
2 | for (let i = 0, len = array.length; i < len && !subscriber.closed; i++) { |
3 | subscriber.next(array[i]); |
4 | } |
5 | subscriber.complete(); |
6 | }; |
7 | //# sourceMappingURL=subscribeToArray.js.map |
Note:
See TracBrowser
for help on using the repository browser.