How to achieve the same using just kotlin stdlib? ...
# rx
t
How to achieve the same using just kotlin stdlib?
Copy code
Observable.fromIterable(someListOfSealedClassStates)
            .map { it::class }
            .distinctUntilChanged()
            .toList()
            .blockingGet()