项目中 SSE 调用方法和 @microsoft/fetch-event-source 是一样的吗? #6869
Closed
Gijela
started this conversation in
General | 讨论
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello,请教个问题,我看到项目中自己封装了个 SSE 的调用方法,想问下这个方法和 @microsoft/fetch-event-source 库有什么区别?是基于它完善的吗?

我在使用 @microsoft/fetch-event-source 的时候偶现一个问题,流式请求连接建立成功后并且返回了一段时间的流消息,会偶现触发 onerror 使得连接断开,但是查后端日志,发现是一直在发送流消息,想问下这个问题是 fetch-event-source这种库引起的吗?使用本项目中的调用方法可以解决这个问题吗?
蟹蟹٩('ω')و
Beta Was this translation helpful? Give feedback.
All reactions