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.

from.js 441B

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