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

Method onConnect

out/cli.cjs:52642–52651  ·  view source on GitHub ↗
(abort)

Source from the content-addressed store, hash-verified

52640 if (this[kHandler].onRequestSent) {
52641 try {
52642 return this[kHandler].onRequestSent();
52643 } catch (err) {
52644 this.abort(err);
52645 }
52646 }
52647 }
52648 onConnect(abort) {
52649 assert2(!this.aborted);
52650 assert2(!this.completed);
52651 if (this.error) {
52652 abort(this.error);
52653 } else {
52654 this.abort = abort;

Callers

nothing calls this directly

Calls 2

abortFunction · 0.85
onConnectMethod · 0.45

Tested by

no test coverage detected