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

8 lines
283 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02: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