UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

13 lines 609 B
import type { Has, Tag } from "../../Has/index.js"; import type { Managed } from "../managed.js"; /** * Updates a service in the environment of this effect. */ export declare function updateService_<T, R, E, A>(self: Managed<R, E, A>, tag: Tag<T>, f: (_: T) => T, __trace?: string): Managed<R & Has<T>, E, A>; /** * Updates a service in the environment of this effect. * * @ets_data_first updateService_ */ export declare function updateService<T>(tag: Tag<T>, f: (_: T) => T, __trace?: string): <R, E, A>(self: Managed<R, E, A>) => Managed<R & Has<T>, E, A>; //# sourceMappingURL=updateService.d.ts.map