oday
12/11/2020, 1:04 PMpurchaseFlowStore
.getOrders()
.viewModelSubscription({ orders ->
val existingOrder = orders.firstOrNull { it.listingId == listingId }
if (existingOrder != null) {
emitCommand(CloseScreenCommand)
}
}, {
logger.debug("$it")
})