import * as tsplus_module_1 from "@effect/core/io/Supervisor/operations/and";
import * as tsplus_module_2 from "@effect/core/io/RuntimeConfig/operations/copy";
/**
 * @tsplus fluent ets/RuntimeConfig addSupervisor
 */

export function addSupervisor_(self, supervisor) {
  return tsplus_module_2.copy_(self, {
    supervisor: tsplus_module_1.and_(self.value.supervisor, supervisor)
  });
}
/**
 * @tsplus static ets/RuntimeConfig/Aspects addSupervisor
 */

export const addSupervisor = supervisor => self => addSupervisor_(self, supervisor);
//# sourceMappingURL=addSupervisor.mjs.map