// tracing: off
import { provideSome_ } from "../core"
/**
 * Updates a service in the environment of this effect.
 */

export function updateService_(self, tag, f, __trace) {
  return provideSome_(self, (r) => ({ ...r, ...tag.of(f(tag.read(r))) }), __trace)
}
/**
 * Updates a service in the environment of this effect.
 *
 * @dataFirst updateService_
 */

export function updateService(tag, f, __trace) {
  return (self) => updateService_(self, tag, f, __trace)
}
//# sourceMappingURL=updateService.js.map
