Skip to content

Commit 8fe64fc

Browse files
authored
mcp: fix stale comment on StreamableServerTransport.EventStore (#588)
This was missed in #585. Updates #580
1 parent 104d39c commit 8fe64fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mcp/streamable.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,10 @@ type StreamableServerTransport struct {
367367
// See also [StreamableHTTPOptions.Stateless].
368368
Stateless bool
369369

370-
// Storage for events, to enable stream resumption.
371-
// If nil, a [MemoryEventStore] with the default maximum size will be used.
370+
// EventStore enables stream resumption.
371+
//
372+
// If set, EventStore will be used to persist stream events and replay them
373+
// upon stream resumption.
372374
EventStore EventStore
373375

374376
// jsonResponse, if set, tells the server to prefer to respond to requests

0 commit comments

Comments
 (0)