"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.zipRight = exports.zipRight_ = void 0;
const zipWith_1 = require("./zipWith");
/**
 * Zips this stream with another point-wise, but keeps only the outputs of the other stream.
 *
 * The new stream will end when one of the sides ends.
 */
function zipRight_(self, that) {
    return (0, zipWith_1.zipWith_)(self, that, (_, o2) => o2);
}
exports.zipRight_ = zipRight_;
/**
 * Zips this stream with another point-wise, but keeps only the outputs of the other stream.
 *
 * The new stream will end when one of the sides ends.
 */
function zipRight(that) {
    return (self) => zipRight_(self, that);
}
exports.zipRight = zipRight;
//# sourceMappingURL=zipRight.js.map