#414·UniRx

ToReactiveProperty 创建 ReadOnlyReactiveProperty

作者: MarcelUsslar创建于 2019年6月11日更新于 2024年2月13日

image 目前使用 ToReactiveProperty 会创建一个 ReadOnlyReactiveProperty,并仅返回其接口。由于接口不是一个 IDisposable,因此对流(在 ReadOnlyReactiveProperty 中创建)的订阅将无法再被释放。