Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

subscribeToArray.js 254B

1234567
  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