为什么在与PriceResource Publisher的多个连接中,只有一个获得流? [英] Why in multiple connections to PricesResource Publisher, only one gets the stream?

查看:179
本文介绍了为什么在与PriceResource Publisher的多个连接中,只有一个获得流?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎只有一个http客户端获取数据流,而其他HTTP客户端没有.

It seems that only one http client gets the stream of data, while the others do not.

发布者是否为热点数据,是否应该将其广播给所有订阅者?

Is it true that the Publisher is hot data, and that it should broadcast to all subscribers?

请在

推荐答案

您可以使用重放运算符或 ConnectableObservable

这篇关于为什么在与PriceResource Publisher的多个连接中,只有一个获得流?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆