rook
class Bar{ private val thingSubject = PublishSubject.create<Int>() var thing: Int = 0 set(value) { thingSubject.next(value) } fun getThingObservable() = thingSubject.asObservable() }