```getBidsInteractor(it.uid) ....
# rx
m
Copy code
getBidsInteractor(it.uid)
                    .flatMap {bidList ->
                        Flowable.fromIterable(bidList)
                                .filter { bid.status == Bid.BidStatus.PENDING.value }
                                .flatMapSingle { (id, bid) ->
                                    getRequestInteractor(bid.requestId)
                                            .firstOrError()
                                }
                                .toList()
                                .toFlowable()
                    }