dist/index.js
function liftFeedbackLoop(loops, mappings) {
    return function (outerState, scheduler) {
        var embededLoops = loops.map(function (loop) {
            return loop(outerState.pipe(map_1.map(mappings.mapState)), scheduler)
                .pipe(map_1.map(mappings.mapEvent));
        });
        return rx.merge.apply(rx, embededLoops);
    };
}
function liftFeedbackLoop(loops, mappings) {
    return function (outerState, scheduler) {
        var embededLoops = loops.map(function (loop) {
            return loop(outerState.pipe(map_1.map(mappings.mapState)), scheduler)
                .pipe(map_1.map(mappings.mapEvent));
        });
        return rx.merge.apply(rx, embededLoops);
    };
}
Lifts feedback loop that operates on a subset of state and emits embeddable events to the parent feedback loop.

@param loops Lifted feedback loops.
@param mappings State and event transformers.