MCPcopy Create free account
hub / github.com/github/copilot-sdk / registerElicitationHandler

Method registerElicitationHandler

go/session.go:917–921  ·  view source on GitHub ↗

registerElicitationHandler registers an elicitation handler for this session.

(handler ElicitationHandler)

Source from the content-addressed store, hash-verified

915
916// registerElicitationHandler registers an elicitation handler for this session.
917func (s *Session) registerElicitationHandler(handler ElicitationHandler) {
918 s.elicitationMu.Lock()
919 defer s.elicitationMu.Unlock()
920 s.elicitationHandler = handler
921}
922
923// getElicitationHandler returns the currently registered elicitation handler, or nil.
924func (s *Session) getElicitationHandler() ElicitationHandler {

Callers 3

CreateSessionMethod · 0.45

Calls

no outgoing calls

Tested by 1