Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

share.js 315B

12345678910
  1. import { multicast } from './multicast';
  2. import { refCount } from './refCount';
  3. import { Subject } from '../Subject';
  4. function shareSubjectFactory() {
  5. return new Subject();
  6. }
  7. export function share() {
  8. return (source) => refCount()(multicast(shareSubjectFactory)(source));
  9. }
  10. //# sourceMappingURL=share.js.map