File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed
Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -179,20 +179,22 @@ export class Context<RequestT extends Request = Request, NotificationT extends N
179179 }
180180 | undefined ;
181181
182- public readonly stream : {
183- /**
184- * Closes the SSE stream for this request, triggering client reconnection.
185- * Only available when using StreamableHTTPServerTransport with eventStore configured.
186- * Use this to implement polling behavior during long-running operations.
187- */
188- closeSSEStream : ( ( ) => void ) | undefined ;
189- /**
190- * Closes the standalone GET SSE stream, triggering client reconnection.
191- * Only available when using StreamableHTTPServerTransport with eventStore configured.
192- * Use this to implement polling behavior for server-initiated notifications.
193- */
194- closeStandaloneSSEStream : ( ( ) => void ) | undefined ;
195- } | undefined ;
182+ public readonly stream :
183+ | {
184+ /**
185+ * Closes the SSE stream for this request, triggering client reconnection.
186+ * Only available when using StreamableHTTPServerTransport with eventStore configured.
187+ * Use this to implement polling behavior during long-running operations.
188+ */
189+ closeSSEStream : ( ( ) => void ) | undefined ;
190+ /**
191+ * Closes the standalone GET SSE stream, triggering client reconnection.
192+ * Only available when using StreamableHTTPServerTransport with eventStore configured.
193+ * Use this to implement polling behavior for server-initiated notifications.
194+ */
195+ closeStandaloneSSEStream : ( ( ) => void ) | undefined ;
196+ }
197+ | undefined ;
196198
197199 public readonly logger : LoggingMessageSenderInterface ;
198200
You can’t perform that action at this time.
0 commit comments