MCPcopy
hub / github.com/di-sukharev/opencommit / [kConnect]

Method [kConnect]

out/cli.cjs:53974–53977  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

53972 get [kConnected]() {
53973 return !!this[kSocket] && !this[kConnecting] && !this[kSocket].destroyed;
53974 }
53975 get [kBusy]() {
53976 const socket = this[kSocket];
53977 return socket && (socket[kReset] || socket[kWriting] || socket[kBlocking]) || this[kSize] >= (this[kPipelining] || 1) || this[kPending] > 0;
53978 }
53979 /* istanbul ignore: only used for test */
53980 [kConnect](cb) {

Callers

nothing calls this directly

Calls 2

connect3Function · 0.85
onceMethod · 0.45

Tested by

no test coverage detected