Skip to content

Commit 187a3cd

Browse files
committed
prettier fix
1 parent e89d9d4 commit 187a3cd

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

src/server/context.ts

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)