MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / text

Method text

examples/io/tcp/fetch/fetch.js:78–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 return body;
77 }
78 async text() {
79 let body = this.#body;
80 if (body) {
81 this.#body = undefined;
82 body = await body;
83 body = String.fromArrayBuffer(body);
84 }
85 return body;
86 }
87}
88
89let clients;

Callers 2

main.jsFile · 0.45
main.jsFile · 0.45

Calls 1

fromArrayBufferMethod · 0.65

Tested by

no test coverage detected