MCPcopy Create free account
hub / github.com/Snowflyt/tinyeffect / map

Method map

src/effected.ts:2358–2358  ·  view source on GitHub ↗
(mapper: (value: R) => S)

Source from the content-addressed store, hash-verified

2356 asVoid(): EffectedDraft<P, E, void>;
2357
2358 map<S>(mapper: (value: R) => S): EffectedDraft<P, E, S>;
2359
2360 flatMap<S, F extends Effect = never>(
2361 mapper: (value: R) => Generator<F, S, unknown> | Effected<F, S>,

Callers 14

effected.spec.tsFile · 0.65
addOneFunction · 0.65
doubleFunction · 0.65
toStringFunction · 0.65
transformFunction · 0.65
fib4Function · 0.65
createUser2Function · 0.65
stringifyEffectFunction · 0.65
serializeFunction · 0.65

Implementers 1

Effectedsrc/effected.ts

Calls

no outgoing calls

Tested by 5

addOneFunction · 0.52
doubleFunction · 0.52
toStringFunction · 0.52
transformFunction · 0.52
fib4Function · 0.52