people, I got a question regarding the `all()` ope...
# rx
f
people, I got a question regarding the
all()
operator. So, I have a list of events and I want to get true if all events meet a criteria. I have the following
Copy code
repository.getEvents()
                .flatMapIterable(events -> events)
                .all(event -> event.status() == Status.COMPLETED)
                .subscribeOn(<http://Schedulers.io|Schedulers.io>())
                .observeOn(AndroidSchedulers.mainThread())
what happens is that if any of the events do not meet the conditions it returns false and I can handle it in the subscriber. But if it returns true the subscribers is not fired.. not even an error.