Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vercel/vercel
/ trace
Method
trace
packages/build-utils/src/trace/trace.ts:116–122 ·
view source on GitHub ↗
(fn: (span: Span) => T | Promise<T>)
Source
from the content-addressed store, hash-verified
114
}
115
116
async
trace<T>(fn: (span: Span) => T | Promise<T>): Promise<T> {
117
try {
118
return
await
fn(this);
119
} finally {
120
this.stop();
121
}
122
}
123
}
Callers
13
withSpan
Function · 0.45
build
Function · 0.45
runCompileAllAndFillBytecode
Function · 0.45
maybeLog
Function · 0.45
main
Function · 0.45
build
Function · 0.45
typescript
Function · 0.45
rolldown
Function · 0.45
nodeFileTrace
Function · 0.45
rolldown
Function · 0.45
nft
Function · 0.45
introspection
Function · 0.45
Calls
1
stop
Method · 0.95
Tested by
no test coverage detected