MCPcopy
hub / github.com/prisma/prisma / read

Function read

packages/generator-helper/src/__tests__/readline-utf8-split.test.ts:38–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 let index = 0
37 return new Readable({
38 read() {
39 if (index < chunks.length) {
40 this.push(chunks[index])
41 index++
42 } else {
43 this.push(null)
44 }
45 },
46 })
47}
48

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected