"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var operators_1 = require("rxjs/operators");
var ObservableHelper = /** @class */ (function () {
    function ObservableHelper() {
    }
    ObservableHelper.timeout = function (obs, timeout) {
        if (timeout) {
            obs = obs.pipe(operators_1.timeout(timeout));
        }
        return obs;
    };
    return ObservableHelper;
}());
exports.ObservableHelper = ObservableHelper;
