const fileName_1 = "(@effect/core) _src/io/Supervisor/operations/map.ts";
import * as tsplus_module_1 from "@effect/core/io/Effect/operations/map";
import { ProxySupervisor } from "@effect/core/io/Supervisor/operations/proxy";
/**
 * Maps this supervisor to another one, which has the same effect, but whose
 * value has been transformed by the specified function.
 *
 * @tsplus fluent ets/Supervisor map
 */

export function map_(self, f) {
  return new ProxySupervisor(tsplus_module_1.map_(self.value, f, fileName_1 + ":10:44"), self);
}
/**
 * Maps this supervisor to another one, which has the same effect, but whose
 * value has been transformed by the specified function.
 */

export const map = f => self => map_(self, f);
//# sourceMappingURL=map.mjs.map