Method
Initialize
(context.Context, *mcp.InitializeRequest)
Source from the content-addressed store, hash-verified
| 77 | } |
| 78 | |
| 79 | func (m *reconnectableMockClient) Initialize(context.Context, *mcp.InitializeRequest) (*mcp.InitializeResult, error) { |
| 80 | m.mu.Lock() |
| 81 | defer m.mu.Unlock() |
| 82 | m.waitCh = make(chan struct{}) // fresh channel for each session |
| 83 | return &mcp.InitializeResult{}, nil |
| 84 | } |
| 85 | |
| 86 | func (m *reconnectableMockClient) Wait() error { |
| 87 | m.mu.Lock() |
Callers
nothing calls this directly
Tested by
no test coverage detected