# Code coverage report for RxJS/dist/cjs/operators/shareReplay.js

## Statements: 92.31% (12 / 13) Branches: 62.5% (5 / 8) Functions: 100% (2 / 2) Lines: 100% (10 / 10) Ignored: none

All files » RxJS/dist/cjs/operators/ » shareReplay.js

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19

    1
    1

    1

    1

    1

    1
    6
    6

    6

    1'use strict';

    exports.__esModule = true;
    exports['default'] = shareReplay;

    function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

    var _publishReplay = require('./publishReplay');

    var _publishReplay2 = _interopRequireDefault(_publishReplay);

    function shareReplay(bufferSize, windowTime, scheduler) {
        Iif (bufferSize === undefined) bufferSize = Number.POSITIVE_INFINITY;
        Eif (windowTime === undefined) windowTime = Number.POSITIVE_INFINITY;

        return _publishReplay2['default'].call(this, bufferSize, windowTime, scheduler).refCount();
    }

    module.exports = exports['default'];