MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / onRequestSent

Method onRequestSent

out/cli.cjs:52630–52641  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52628 if (this[kHandler].onBodySent) {
52629 try {
52630 return this[kHandler].onBodySent(chunk);
52631 } catch (err) {
52632 this.abort(err);
52633 }
52634 }
52635 }
52636 onRequestSent() {
52637 if (channels.bodySent.hasSubscribers) {
52638 channels.bodySent.publish({ request: this });
52639 }
52640 if (this[kHandler].onRequestSent) {
52641 try {
52642 return this[kHandler].onRequestSent();
52643 } catch (err) {
52644 this.abort(err);

Callers 7

writeFunction · 0.45
writeBodyH2Function · 0.45
writeStreamFunction · 0.45
writeBlobFunction · 0.45
writeIterableFunction · 0.45
endMethod · 0.45
onRequestSentMethod · 0.45

Calls 1

abortMethod · 0.95

Tested by

no test coverage detected