hugoWebsite/node_modules/rxjs/dist/esm5/internal/observable/defer.js

8 lines
283 B
JavaScript

import { Observable } from '../Observable';
import { innerFrom } from './innerFrom';
export function defer(observableFactory) {
return new Observable(function (subscriber) {
innerFrom(observableFactory()).subscribe(subscriber);
});
}
//# sourceMappingURL=defer.js.map