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

Method onRequestSent

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

Source from the content-addressed store, hash-verified

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

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