Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想通过 RX 创建一个心跳,但我似乎找不到一种方法来创建一个Observable可以无限期地脉冲的方法。
Observable
这甚至可能吗?
尝试这个:
var forever = Observable.Interval(TimeSpan.FromSeconds(1.0));