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

Function generateChunks

xml/parse_stream_test.ts:248–252  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246
247Deno.test("parseXmlStream() accepts AsyncIterable", async () => {
248 async function* generateChunks(): AsyncGenerator<string> {
249 yield "<root>";
250 yield "<item/>";
251 yield "</root>";
252 }
253
254 const elements: string[] = [];
255

Callers 1

Calls 1

sliceMethod · 0.45

Tested by

no test coverage detected