defer.js 283 B

12345678
  1. import { Observable } from '../Observable';
  2. import { innerFrom } from './innerFrom';
  3. export function defer(observableFactory) {
  4. return new Observable(function (subscriber) {
  5. innerFrom(observableFactory()).subscribe(subscriber);
  6. });
  7. }
  8. //# sourceMappingURL=defer.js.map