BehaviorRelay 实际上是Variable 的替代。概念上和Variable 并无区别。而Variable 是对BehaviorSubject的封装,因此它可以不停地监听值的变化并发送事件。
確定! 回上一頁