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

Function f

packages/effect/src/Micro.ts:3003–3003  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

3001 return causeWithTrace(cause, `at ${name} (${lineMatch ? lineMatch[1] : line})`)
3002 }
3003 const f = (name: string) => (self: Micro<any, any, any>) => onError(self, (cause) => failCause(generate(name, cause)))
3004 if (arguments.length === 2) {
3005 return f(arguments[1])(arguments[0])
3006 }

Callers 15

MutableList.tsFile · 0.70
Effect.tsFile · 0.70
changeMapFunction · 0.70
Order.tsFile · 0.70
MutableHashMap.tsFile · 0.70
Tuple.tsFile · 0.70
Micro.tsFile · 0.70
uninterruptibleMaskFunction · 0.70
forEachFunction · 0.70
pumpFunction · 0.70
filterFunction · 0.70
filterMapFunction · 0.70

Calls 3

generateFunction · 0.85
onErrorFunction · 0.50
failCauseFunction · 0.50

Tested by 1

contextFunction · 0.40