fromSubscribable.js 400 B

123456789
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.fromSubscribable = void 0;
  4. var Observable_1 = require("../Observable");
  5. function fromSubscribable(subscribable) {
  6. return new Observable_1.Observable(function (subscriber) { return subscribable.subscribe(subscriber); });
  7. }
  8. exports.fromSubscribable = fromSubscribable;
  9. //# sourceMappingURL=fromSubscribable.js.map