How to collect every observable emittion into one object in rxJava2/rxKotlin2?

前端 未结 0 1998
半阙折子戏
半阙折子戏 2021-01-21 05:46

Observable emits trade objects. How to make operation on each emission into one result object?

Trade(tradeType: String, profit: BigDecimal) Result(totalProfit: BigDecimal

相关标签:
回答
  • 消灭零回复
提交回复
热议问题