source: trip-planner-front/node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 254 bytes
Line 
1export 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.