MCPcopy
hub / github.com/axios/axios / makeEchoStream

Function makeEchoStream

tests/setup/server.js:201–206  ·  view source on GitHub ↗
(echo)

Source from the content-addressed store, hash-verified

199};
200
201export const makeEchoStream = (echo) =>
202 new WritableStream({
203 write(chunk) {
204 echo && console.log('Echo chunk', chunk);
205 },
206 });
207
208export const startTestServer = async (port) => {
209 const handler = async (req) => {

Callers 1

fetch.test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected