wishthis/node_modules/rxjs/dist/esm/internal/operators/publish.js
2022-04-07 09:06:43 +02:00

7 lines
No EOL
297 B
JavaScript

import { Subject } from '../Subject';
import { multicast } from './multicast';
import { connect } from './connect';
export function publish(selector) {
return selector ? (source) => connect(selector)(source) : (source) => multicast(new Subject())(source);
}
//# sourceMappingURL=publish.js.map