UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

8 lines 283 B
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