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

Function start

packages/deno/test/streaming.test.ts:16–19  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

14
15 const stream = new ReadableStream<Uint8Array>({
16 start(controller) {
17 controller.enqueue(new TextEncoder().encode('data'));
18 // intentionally not closing — stream stays open
19 },
20 });
21
22 const reader = stream.getReader();

Callers 1

test-helper.tsFile · 0.50

Calls 2

encodeMethod · 0.80
enqueueMethod · 0.65

Tested by

no test coverage detected