MCPcopy
hub / github.com/vercel/next.js / active

Method active

packages/next/src/server/lib/trace/tracer.test.ts:31–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 private currentContext: Context = ROOT_CONTEXT
30
31 active(): Context {
32 return this.currentContext
33 }
34
35 with<A extends unknown[], F extends (...args: A) => ReturnType<F>>(
36 newContext: Context,

Callers 10

getActiveScopeSpanMethod · 0.45
withPropagatedContextMethod · 0.45
traceMethod · 0.45
wrapMethod · 0.45
getSpanContextMethod · 0.45
getRootSpanAttributesMethod · 0.45
setRootSpanAttributeMethod · 0.45
withSpanMethod · 0.45
tracer.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected