Xin Ouyang

Results 5 comments of Xin Ouyang

@erguotou520 跟Promise的方式一样 try catch都能捕获es7的await返回的reject 为啥不统一用window.onerror处理,尴了个尬~~

@erguotou520 我的意思是,与其新搞一个unhandledrejection事件处理Promise的异常 还不如直接用onerror处理 而且unhandledrejection/onerror应该统一用来处理那些漏掉的异常吧, 什么情况下会写业务逻辑上去。。

时间过去太久远,我已经忘记了当时的需求,先关闭了。

When generative AI became popular, SSE became the dominant API response when developing AI apps, so it became urgent to satisfy stream, otherwise a lot of AI apps would be...

On iOS, I can successfully receive a text stream using https://github.com/react-native-community/fetch, and I suggest try this library