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 (10 loc) 332 B
// ets_tracing: off import * as T from "../deps-core.js" import * as R from "./deps-ref.js" import { ReleaseMap } from "./ReleaseMap.js" import { Running } from "./Running.js" import type { State } from "./State.js" export const makeReleaseMap = T.map_( R.makeRef<State>(new Running(0, new Map())), (s) => new ReleaseMap(s) )