mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 19:11:06 +03:30
10 lines
315 B
JavaScript
Vendored
10 lines
315 B
JavaScript
Vendored
import { multicast } from './multicast';
|
|
import { refCount } from './refCount';
|
|
import { Subject } from '../Subject';
|
|
function shareSubjectFactory() {
|
|
return new Subject();
|
|
}
|
|
export function share() {
|
|
return (source) => refCount()(multicast(shareSubjectFactory)(source));
|
|
}
|
|
//# sourceMappingURL=share.js.map
|