wishthis/node_modules/rxjs/dist/esm5/internal/operators/publishLast.js

9 lines
361 B
JavaScript
Raw Normal View History

2022-06-08 10:36:39 +00:00
import { AsyncSubject } from '../AsyncSubject';
import { ConnectableObservable } from '../observable/ConnectableObservable';
export function publishLast() {
return function (source) {
var subject = new AsyncSubject();
return new ConnectableObservable(source, function () { return subject; });
};
}
//# sourceMappingURL=publishLast.js.map