share操作符的文档声明:As long as there is at least one Subscriber this Observable will be subscribed and emittingBecause the Observable is multicasting it makes the stream hot
我认为hot可观测到的就是开始释放数据而不需要订阅的那个?我说错了吗?
我正在使用Rxjs和进行前端项目,我想从一个api“api/ data _processor_classlib.php.”中获取json数据。其中有三个部分是在this.webProtectionHTML$上订阅管道的。我不知道为什么管道this.webProtectionHTML$提出3次请求。是否有任何可能的解决方案只发送一个请求并更新HTML中的所有数据?谢谢。