import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/as";
import * as tsplus_module_2 from "@effect/core/stream/Channel/operations/flatMap";
/**
 * Returns a new channel that is the sequential composition of this channel
 * and the specified channel. The returned channel terminates with the
 * terminal value of this channel.
 *
 * @tsplus operator ets/Channel <
 * @tsplus fluent ets/Channel zipLeft
 */

export function zipLeft_(self, that) {
  return tsplus_module_2.flatMap_(self, z => tsplus_module_1.as_(that(), () => z));
}
/**
 * Returns a new channel that is the sequential composition of this channel
 * and the specified channel. The returned channel terminates with the
 * terminal value of this channel.
 *
 * @tsplus static ets/Channel/Aspects zipLeft
 */

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