MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / setQuestionHandler

Method setQuestionHandler

packages/node-sdk/src/session.ts:99–102  ·  view source on GitHub ↗
(handler: QuestionHandler | undefined)

Source from the content-addressed store, hash-verified

97 }
98
99 setQuestionHandler(handler: QuestionHandler | undefined): void {
100 this.ensureOpen();
101 this.rpc.setQuestionHandler(this.id, handler);
102 }
103
104 async prompt(input: string | PromptInput): Promise<void> {
105 this.ensureOpen();

Callers 5

constructorMethod · 0.45
unloadCurrentSessionMethod · 0.45
installHeadlessHandlersFunction · 0.45

Calls 1

ensureOpenMethod · 0.95

Tested by

no test coverage detected