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

Method map

packages/effect/src/unstable/reactivity/AtomRef.ts:224–226  ·  view source on GitHub ↗
(f: (a: B) => C)

Source from the content-addressed store, hash-verified

222 })
223 }
224 map<C>(f: (a: B) => C): ReadonlyRef<C> {
225 return new MapRefImpl(this, f)
226 }
227}
228
229class PropRefImpl<A, K extends keyof A> implements AtomRef<A[K]> {

Callers 15

parseFunction · 0.45
encodeStringFunction · 0.45
encodeFunction · 0.45
decodeStringFunction · 0.45
decodeDataSchemaFunction · 0.45
encodeFunction · 0.45
encodeFunction · 0.45
onEndpointFunction · 0.45
groupFunction · 0.45
endpointFunction · 0.45
schemasToResponseFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected