MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / add

Method add

packages/core/src/utils/promisebuffer.ts:8–8  ·  view source on GitHub ↗
(taskProducer: () => PromiseLike<T>)

Source from the content-addressed store, hash-verified

6 // XXX: this really should not be public api.
7 $: PromiseLike<T>[];
8 add(taskProducer: () => PromiseLike<T>): PromiseLike<T>;
9 drain(timeout?: number): PromiseLike<boolean>;
10}
11

Callers 15

startProfileForSpanFunction · 0.65
setupFunction · 0.65
recurseFunction · 0.65
trackLazyRouteLoadFunction · 0.65
processResolvedRoutesFunction · 0.65
afterAllSetupFunction · 0.65
addRoutesToAllRoutesFunction · 0.65
withElysiaFunction · 0.65

Implementers 3

SpanBufferpackages/core/src/tracing/spans/spanBu
IsolatedPromiseBufferpackages/vercel-edge/src/transports/in
IsolatedPromiseBufferpackages/cloudflare/src/transport.ts

Calls

no outgoing calls

Tested by 1

addEventListenerMethod · 0.52