mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
8e25991f63
commit
6d3f20b9f6
1 file changed
+1
@@ -51,6 +51,7 @@ class ApiWatcher {
|
|||||||
// convert to "text/event-stream" format
|
// convert to "text/event-stream" format
|
||||||
this.response.write(`data: ${JSON.stringify(evt)}\n\n`);
|
this.response.write(`data: ${JSON.stringify(evt)}\n\n`);
|
||||||
if (autoFlush) {
|
if (autoFlush) {
|
||||||
|
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
this.response.flush()
|
this.response.flush()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user