MCPcopy Index your code
hub / github.com/anomalyco/opencode / close

Method close

packages/opencode/src/cli/cmd/run/footer.ts:619–626  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

617 }
618
619 public close(): void {
620 if (this.closed) {
621 return
622 }
623
624 this.flush()
625 this.notifyClose()
626 }
627
628 public requestExit(): boolean {
629 return this.requestExitHandler?.() ?? this.handleExit()

Callers 15

constructorMethod · 0.95
RunFooterClass · 0.95
stopOAuthServerFunction · 0.45
stopOAuthServerFunction · 0.45
stopOAuthServerFunction · 0.45
pullFunction · 0.45
stopOAuthServerFunction · 0.45
disposeFunction · 0.45
closeCompletedFunction · 0.45
inputFunction · 0.45
mcp.tsFile · 0.45
run.tsFile · 0.45

Calls 2

flushMethod · 0.95
notifyCloseMethod · 0.95

Tested by

no test coverage detected