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

Function createReadableStream

packages/next-routing/src/__tests__/captures.test.ts:4–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import type { ResolveRoutesParams } from '../types'
3
4function createReadableStream(): ReadableStream {
5 return new ReadableStream({
6 start(controller) {
7 controller.close()
8 },
9 })
10}
11
12function createBaseParams(
13 overrides: Partial<ResolveRoutesParams> = {}

Callers 1

createBaseParamsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected