MCPcopy Create free account
hub / github.com/Effect-TS/effect / map

Method map

packages/effect/src/unstable/reactivity/AtomRef.ts:268–270  ·  view source on GitHub ↗
(f: (a: A[K]) => C)

Source from the content-addressed store, hash-verified

266 })
267 }
268 map<C>(f: (a: A[K]) => C): ReadonlyRef<C> {
269 return new MapRefImpl(this, f)
270 }
271 prop<CK extends keyof A[K]>(prop: CK): AtomRef<A[K][CK]> {
272 return new PropRefImpl(this, prop)
273 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected