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

Function provideSpanStackFrame

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

Source from the content-addressed store, hash-verified

2871} as any
2872
2873const provideSpanStackFrame = (name: string, stack: (() => string | undefined) | undefined) => {
2874 stack = typeof stack === "function" ? stack : constUndefined
2875 return updateService(CurrentStackFrame, (parent) => ({
2876 name,
2877 stack,
2878 parent
2879 }))
2880}

Callers 2

Layer.tsFile · 0.85
effect.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected