tapchicoma
Observable.fromIterable(someListOfSealedClassStates) .map { it::class } .distinctUntilChanged() .toList() .blockingGet()