const fileName_1 = "(@effect/core) _src/stream/Channel/operations/service.ts";
import * as tsplus_module_1 from "@effect/core/io/Effect/operations/service";
import * as tsplus_module_2 from "@effect/core/stream/Channel/operations/fromEffect";
/**
 * Accesses the specified service in the environment of the channel.
 *
 * @tsplus static ets/Channel/Ops service
 */

export function service(tag) {
  return tsplus_module_2.fromEffect(() => tsplus_module_1.service(tag, fileName_1 + ":7:43"));
}
//# sourceMappingURL=service.mjs.map