MCPcopy
hub / github.com/Effect-TS/effect / map

Method map

packages/effect/src/Supervisor.ts:78–78  ·  view source on GitHub ↗

* Maps this supervisor to another one, which has the same effect, but whose * value has been transformed by the specified function.

(f: (a: T) => B)

Source from the content-addressed store, hash-verified

76 * value has been transformed by the specified function.
77 */
78 map<B>(f: (a: T) => B): Supervisor<B>
79
80 /**
81 * Returns a new supervisor that performs the function of this supervisor, and

Callers 15

rpc-schemas.tsFile · 0.65
Geolocation.tsFile · 0.65
watchPositionFunction · 0.65
arrayBufferFunction · 0.65
Sqlite.test.tsFile · 0.65
SqliteClient.tsFile · 0.65
executeFunction · 0.65
runFunction · 0.65
extractObjectFunction · 0.65
layerMemoryConfigFunction · 0.65

Implementers 5

ProxySupervisorpackages/effect/src/internal/superviso
Zippackages/effect/src/internal/superviso
Trackpackages/effect/src/internal/superviso
Constpackages/effect/src/internal/superviso
FibersInpackages/effect/src/internal/superviso

Calls

no outgoing calls

Tested by 15

renderTreeSafeFunction · 0.52
productManyFromApFunction · 0.52
retrieveFunction · 0.52
makePollingGaugeFunction · 0.52
assertSomeIsoFunction · 0.52
rootContainsFunction · 0.52
RateLimiterTestSuiteFunction · 0.52
makeSortedMapFunction · 0.52
expectMapFunction · 0.52
makeSTMEnvFunction · 0.52
runFunction · 0.52
sinkRaceLawFunction · 0.52