inamiy / RxProperty

A get-only `BehaviorRelay ` that is (almost) equivalent to ReactiveSwift's `Property`
MIT License
85 stars 8 forks source link

Add BehaviorRelay support #3

Closed inamiy closed 6 years ago

inamiy commented 6 years ago

This PR supports BehaviorRelay which is introduced in RxSwift 4.0.0.

But be aware that Property behaves more like Variable than BehaviorRelay in this case, since it internally owns Variable that will send .on(.completed) when deinited.