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

8 lines
277 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((subscriber) => {
innerFrom(observableFactory()).subscribe(subscriber);
});
}
//# sourceMappingURL=defer.js.map