const fileName_1 = "(@effect/core) _src/stream/Channel/operations/do.ts";
import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/map";
import * as tsplus_module_2 from "@effect/core/stream/Channel/operations/flatMap";
import * as tsplus_module_3 from "@effect/core/io/Effect/operations/succeedNow";
import * as tsplus_module_4 from "@effect/core/stream/Channel/operations/fromEffect";
/**
 * @tsplus fluent ets/Channel bind
 */

export function bind_(self, tag, f) {
  return tsplus_module_2.flatMap_(self, k => tsplus_module_1.map_(f(k), a => ({ ...k,
    [tag]: a
  })));
}
/**
 * @tsplus static ets/Channel/Aspects bind
 */

export const bind = (tag, f) => self => bind_(self, tag, f);
/**
 * @tsplus fluent ets/Channel bindValue
 */

export function bindValue_(self, tag, f) {
  return tsplus_module_1.map_(self, k => ({ ...k,
    [tag]: f(k)
  }));
}
/**
 * @tsplus static ets/Channel/Aspects bindValue
 */

export const bindValue = (tag, f) => self => bindValue_(self, tag, f);
/**
 * @tsplus static ets/Channel/Ops Do
 */

export function Do() {
  return tsplus_module_4.fromEffect(() => tsplus_module_3.succeedNow({}, fileName_1 + ":79:46"));
}
//# sourceMappingURL=do.mjs.map