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 right output.
 *
 * @tsplus operator ets/Schedule <
 * @tsplus operator ets/Schedule/WithState <
 * @tsplus fluent ets/Schedule zipLeft
 * @tsplus fluent ets/Schedule/WithState zipLeft
 */

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

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