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

Function onDone

examples/io/tcp/fetch/fetch.js:207–213  ·  view source on GitHub ↗
(/* error */)

Source from the content-addressed store, hash-verified

205 buffer = this.read(count);
206 },
207 onDone(/* error */) {
208 if (this.redirected) {
209 fetchClientRequest(url, options);
210 return;
211 }
212 resolveBody(buffer ?? new ArrayBuffer);
213 }
214 };
215 fetchClientRequest(url, options);
216 });

Callers

nothing calls this directly

Calls 1

fetchClientRequestFunction · 0.70

Tested by

no test coverage detected