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

Function isReady

packages/core/src/utils/promisebuffer.ts:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 const buffer: Set<PromiseLike<T>> = new Set();
20
21 function isReady(): boolean {
22 return buffer.size < limit;
23 }
24
25 /**
26 * Remove a promise from the queue.

Callers 1

addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected