MCPcopy Index your code
hub / github.com/github/copilot-sdk / registerElicitationHandler

Method registerElicitationHandler

nodejs/src/session.ts:913–915  ·  view source on GitHub ↗

* Registers the elicitation handler for this session. * * @param handler - The handler to invoke when the server dispatches an elicitation request * @internal This method is typically called internally when creating/resuming a session.

(handler?: ElicitationHandler)

Source from the content-addressed store, hash-verified

911 * @internal This method is typically called internally when creating/resuming a session.
912 */
913 registerElicitationHandler(handler?: ElicitationHandler): void {
914 this.elicitationHandler = handler;
915 }
916
917 /**
918 * Registers the exit-plan-mode handler for this session.

Callers 2

initializeSessionMethod · 0.95
resumeSessionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected