subscribeToArray.js 276 B

1234567
  1. export var subscribeToArray = function (array) { return function (subscriber) {
  2. for (var 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