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

Function provideSpanStackFrame

packages/effect/src/Layer.ts:2791–2798  ·  view source on GitHub ↗
(name: string, stack: (() => string | undefined) | undefined)

Source from the content-addressed store, hash-verified

2789} as any
2790
2791const provideSpanStackFrame = (name: string, stack: (() => string | undefined) | undefined) => {
2792 stack = typeof stack === "function" ? stack : constUndefined
2793 return updateService(CurrentStackFrame, (parent) => ({
2794 name,
2795 stack,
2796 parent
2797 }))
2798}

Callers 2

Layer.tsFile · 0.85
effect.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected