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

8 lines
283 B
JavaScript
Raw Normal View History

2022-06-08 10:36:39 +00:00
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