MCPcopy
hub / github.com/di-sukharev/opencommit / onBodySent

Method onBodySent

out/cli.cjs:52621–52629  ·  view source on GitHub ↗
(chunk)

Source from the content-addressed store, hash-verified

52619 }
52620 util4.validateHandler(handler, method, upgrade);
52621 this.servername = util4.getServerName(this.host);
52622 this[kHandler] = handler;
52623 if (channels.create.hasSubscribers) {
52624 channels.create.publish({ request: this });
52625 }
52626 }
52627 onBodySent(chunk) {
52628 if (this[kHandler].onBodySent) {
52629 try {
52630 return this[kHandler].onBodySent(chunk);
52631 } catch (err) {
52632 this.abort(err);

Callers

nothing calls this directly

Calls 2

abortMethod · 0.95
onBodySentMethod · 0.45

Tested by

no test coverage detected