MCPcopy
hub / github.com/SBoudrias/Inquirer.js / getLastChunk

Method getLastChunk

packages/testing/src/buffered-stream.ts:38–42  ·  view source on GitHub ↗
({ raw }: { raw?: boolean } = {})

Source from the content-addressed store, hash-verified

36 }
37
38 getLastChunk({ raw }: { raw?: boolean } = {}): string {
39 const chunks = raw ? this.#rawChunks : this.#chunks;
40 const lastChunk = chunks.at(-1);
41 return lastChunk ?? '';
42 }
43
44 getFullOutput(): string {
45 return this.#fullOutput;

Callers 2

renderFunction · 0.95
getScreenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected