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 536B

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