MCPcopy Create free account
hub / github.com/angular/dev-infra / onRequestSent

Method onRequestSent

github-actions/browserstack/set-browserstack-env.js:2020–2031  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2018 }
2019 onBodySent(chunk) {
2020 if (this[kHandler].onBodySent) {
2021 try {
2022 return this[kHandler].onBodySent(chunk);
2023 } catch (err) {
2024 this.abort(err);
2025 }
2026 }
2027 }
2028 onRequestSent() {
2029 if (channels.bodySent.hasSubscribers) {
2030 channels.bodySent.publish({ request: this });
2031 }
2032 if (this[kHandler].onRequestSent) {
2033 try {
2034 return this[kHandler].onRequestSent();

Callers 6

writeBufferFunction · 0.45
writeBlobFunction · 0.45
endMethod · 0.45
writeStreamFunction · 0.45
writeIterableFunction · 0.45
onRequestSentMethod · 0.45

Calls 1

abortMethod · 0.45

Tested by

no test coverage detected