MCPcopy
hub / github.com/axios/axios / _onFinish

Function _onFinish

lib/helpers/trackStream.js:50–55  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

48 let bytes = 0;
49 let done;
50 let _onFinish = (e) => {
51 if (!done) {
52 done = true;
53 onFinish && onFinish(e);
54 }
55 };
56
57 return new ReadableStream(
58 {

Callers 2

pullFunction · 0.85
cancelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected