mcp/streamable: fix typos (#83)
  This PR updates the comments for `StreamableServerTransport.streamRequests` to correct typos and improve clarity.
This commit is contained in:
parent
9b6327b3b7
commit
06ae01b141
1 changed files with 2 additions and 2 deletions
|
|
@ -223,13 +223,13 @@ type StreamableServerTransport struct {
|
|||
// TODO(rfindley): clean up once requests are handled.
|
||||
requestStreams map[JSONRPCID]streamID
|
||||
|
||||
// outstandingRequests tracks the set of unanswered incoming RPCs for each logical
|
||||
// streamRequests tracks the set of unanswered incoming RPCs for each logical
|
||||
// stream.
|
||||
//
|
||||
// When the server has responded to each request, the stream should be
|
||||
// closed.
|
||||
//
|
||||
// Lifecycle: outstandingRequests values persist as until the requests have been
|
||||
// Lifecycle: streamRequests values persist as until the requests have been
|
||||
// replied to by the server. Notably, NOT until they are sent to an HTTP
|
||||
// response, as delivery is not guaranteed.
|
||||
streamRequests map[streamID]map[JSONRPCID]struct{}
|
||||
|
|
|
|||
Loading…
Reference in a new issue