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

## Statements: 80% (8 / 10) Branches: 37.5% (3 / 8) Functions: 50% (1 / 2) Lines: 77.78% (7 / 9) Ignored: none

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

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

    1
    1

    1

    1

    1

    1

    1'use strict';

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

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

    var _observablesSubscribeOnObservable = require('../observables/SubscribeOnObservable');

    var _observablesSubscribeOnObservable2 = _interopRequireDefault(_observablesSubscribeOnObservable);

    function subscribeOn(scheduler) {
        var delay = arguments.length <= 1 || arguments[1] === undefined ? 0 : arguments[1];

        return new _observablesSubscribeOnObservable2['default'](this, delay, scheduler);
    }

    module.exports = exports['default'];