Skip to content

Commit 06ae01b

Browse files
authored
mcp/streamable: fix typos (#83)
  This PR updates the comments for `StreamableServerTransport.streamRequests` to correct typos and improve clarity.
1 parent 9b6327b commit 06ae01b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mcp/streamable.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,13 +223,13 @@ type StreamableServerTransport struct {
223223
// TODO(rfindley): clean up once requests are handled.
224224
requestStreams map[JSONRPCID]streamID
225225

226-
// outstandingRequests tracks the set of unanswered incoming RPCs for each logical
226+
// streamRequests tracks the set of unanswered incoming RPCs for each logical
227227
// stream.
228228
//
229229
// When the server has responded to each request, the stream should be
230230
// closed.
231231
//
232-
// Lifecycle: outstandingRequests values persist as until the requests have been
232+
// Lifecycle: streamRequests values persist as until the requests have been
233233
// replied to by the server. Notably, NOT until they are sent to an HTTP
234234
// response, as delivery is not guaranteed.
235235
streamRequests map[streamID]map[JSONRPCID]struct{}

0 commit comments

Comments
 (0)