veffect
Version:
powerful TypeScript validation library built on the robust foundation of Effect combining exceptional type safety, high performance, and developer experience. Taking inspiration from Effect's functional principles, VEffect delivers a balanced approach tha
10 lines (8 loc) • 321 B
text/typescript
import { globalValue } from "../GlobalValue.js"
import type * as Request from "../Request.js"
import { fiberRefUnsafeMake } from "./core.js"
/** @internal */
export const currentRequestMap = globalValue(
Symbol.for("effect/FiberRef/currentRequestMap"),
() => fiberRefUnsafeMake(new Map<any, Request.Entry<any>>())
)