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.

fromArray.js 399B

123456789101112
  1. import { Observable } from '../Observable';
  2. import { subscribeToArray } from '../util/subscribeToArray';
  3. import { scheduleArray } from '../scheduled/scheduleArray';
  4. export function fromArray(input, scheduler) {
  5. if (!scheduler) {
  6. return new Observable(subscribeToArray(input));
  7. }
  8. else {
  9. return scheduleArray(input, scheduler);
  10. }
  11. }
  12. //# sourceMappingURL=fromArray.js.map