import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/map";
/**
 * Returns a new channel that is the same as this one, except the terminal
 * value of the channel is the specified constant value.
 *
 * This method produces the same result as mapping this channel to the
 * specified constant value.
 *
 * @tsplus fluent ets/Channel as
 */

export function as_(self, z2) {
  return tsplus_module_1.map_(self, z2);
}
/**
 * Returns a new channel that is the same as this one, except the terminal
 * value of the channel is the specified constant value.
 *
 * This method produces the same result as mapping this channel to the
 * specified constant value.
 *
 * @tsplus static ets/Channel/Aspects as
 */

export const as = z2 => self => as_(self, z2);
//# sourceMappingURL=as.mjs.map