wishthis/node_modules/rxjs/dist/esm/internal/operators/publishLast.js
2022-06-08 12:36:39 +02:00

9 lines
No EOL
339 B
JavaScript

import { AsyncSubject } from '../AsyncSubject';
import { ConnectableObservable } from '../observable/ConnectableObservable';
export function publishLast() {
return (source) => {
const subject = new AsyncSubject();
return new ConnectableObservable(source, () => subject);
};
}
//# sourceMappingURL=publishLast.js.map