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

Method onBodySent

github-actions/browserstack/set-browserstack-env.js:2011–2019  ·  view source on GitHub ↗
(chunk)

Source from the content-addressed store, hash-verified

2009 } else if (headers != null) {
2010 throw new InvalidArgumentError("headers must be an object or an array");
2011 }
2012 validateHandler(handler, method, upgrade);
2013 this.servername = servername || getServerName(this.host);
2014 this[kHandler] = handler;
2015 if (channels.create.hasSubscribers) {
2016 channels.create.publish({ request: this });
2017 }
2018 }
2019 onBodySent(chunk) {
2020 if (this[kHandler].onBodySent) {
2021 try {
2022 return this[kHandler].onBodySent(chunk);

Callers 6

writeBufferFunction · 0.45
writeBlobFunction · 0.45
writeMethod · 0.45
onPipeDataFunction · 0.45
writeIterableFunction · 0.45
onBodySentMethod · 0.45

Calls 2

__privateGetFunction · 0.70
abortMethod · 0.45

Tested by

no test coverage detected