import * as tsplus_module_1 from "@effect/core/io/Schedule/operations/zip";
import * as tsplus_module_2 from "@effect/core/io/Schedule/operations/map";
/**
 * The same as `intersect` but ignores the left output.
 *
 * @tsplus operator ets/Schedule >
 * @tsplus operator ets/Schedule/WithState >
 * @tsplus fluent ets/Schedule zipRight
 * @tsplus fluent ets/Schedule/WithState zipRight
 */

export function zipRight_(self, that) {
  return tsplus_module_2.map_(tsplus_module_1.zip_(self, that), out => out.get(1));
}
/**
 * The same as `intersect` but ignores the left output.
 *
 * @tsplus static ets/Schedule/Aspects zipRight
 */

export const zipRight = that => self => zipRight_(self, that);
//# sourceMappingURL=zipRight.mjs.map