wishthis/node_modules/rxjs/_esm2015/internal/operators/publish.js
2022-05-29 11:24:36 +02:00

8 lines
No EOL
259 B
JavaScript

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