MCPcopy
hub / github.com/axios/axios / destroy

Method destroy

tests/unit/adapters/http.test.js:5916–5924  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

5914 }
5915
5916 destroy(err) {
5917 if (this.destroyed) {
5918 return;
5919 }
5920
5921 this.destroyed = true;
5922 err && this.emit('error', err);
5923 this.emit('close');
5924 }
5925 })();
5926 },
5927 };

Callers 3

http.jsFile · 0.80
startHTTPServerFunction · 0.80
http.test.jsFile · 0.80

Calls 1

emitMethod · 0.80

Tested by

no test coverage detected