UNPKG

@effect-ts/system

Version:

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

6 lines 318 B
/** * Atomically modifies the `FiberRef` with the specified function and returns * the old value. */ export declare const getAndUpdate: <A>(f: (a: A) => A) => <EA, EB>(fiberRef: import("./fiberRef.js").XFiberRef<EA, EB, A, A>) => import("./excl-effect.js").IO<EA | EB, A>; //# sourceMappingURL=getAndUpdate.d.ts.map