You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The README mentions that you obviously have to close the stream manually, if you use the keepalive config. Thing is, the API doesn't seem to provide a way to actually do that 馃槄 and the controller property is protected 馃檲.
(The try/catch exists, because there is no way to check if the stream already is closed and closing it multiple times results in an error. Yet onAbort has the tendency to be called multiple times.)
Activity
feat: add close() method to ServerSentEventGenerator
eduwass commentedon Dec 3, 2025
Hi @katywings thanks for reporting this 馃檹
Hopefully #11 should now resolve it.
Thank you!