Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / internal / observable / from.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/internal/observable/from.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/internal/observable/from.js
new file mode 100644 (file)
index 0000000..4f6069f
--- /dev/null
@@ -0,0 +1,18 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var Observable_1 = require("../Observable");
+var subscribeTo_1 = require("../util/subscribeTo");
+var scheduled_1 = require("../scheduled/scheduled");
+function from(input, scheduler) {
+    if (!scheduler) {
+        if (input instanceof Observable_1.Observable) {
+            return input;
+        }
+        return new Observable_1.Observable(subscribeTo_1.subscribeTo(input));
+    }
+    else {
+        return scheduled_1.scheduled(input, scheduler);
+    }
+}
+exports.from = from;
+//# sourceMappingURL=from.js.map
\ No newline at end of file