MCPcopy
hub / github.com/sindresorhus/got / infiniteHandler

Function infiniteHandler

test/stream.ts:47–49  ·  view source on GitHub ↗
(_request, response)

Source from the content-addressed store, hash-verified

45};
46
47const infiniteHandler: Handler = (_request, response) => {
48 response.write('foobar');
49};
50
51async function expectStreamToEnd(stream: NodeJS.ReadableStream & NodeJS.EventEmitter): Promise<void> {
52 await Promise.race([

Callers

nothing calls this directly

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…