MCPcopy Create free account
hub / github.com/denoland/std / generateChunks

Function generateChunks

xml/parse_stream_test.ts:201–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

199
200Deno.test("parseXmlStream() accepts AsyncIterable", async () => {
201 async function* generateChunks(): AsyncGenerator<string> {
202 yield "<root>";
203 yield "<item/>";
204 yield "</root>";
205 }
206
207 const elements: string[] = [];
208

Callers 1

Calls 1

sliceMethod · 0.45

Tested by

no test coverage detected