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

Method onData

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

Source from the content-addressed store, hash-verified

2056 }
2057 }
2058 onData(chunk) {
2059 assert(!this.aborted);
2060 assert(!this.completed);
2061 try {
2062 return this[kHandler].onData(chunk);
2063 } catch (err) {
2064 this.abort(err);
2065 return false;
2066 }
2067 }
2068 onUpgrade(statusCode, headers, socket) {
2069 assert(!this.aborted);
2070 assert(!this.completed);

Callers 3

onBodyMethod · 0.45
writeH2Function · 0.45
onDataMethod · 0.45

Calls 7

__privateGetFunction · 0.70
__privateSetFunction · 0.70
abortMethod · 0.45
pushMethod · 0.45
writeMethod · 0.45
onErrorMethod · 0.45
onCompleteMethod · 0.45

Tested by

no test coverage detected