ubu
06/07/2019, 10:31 AMbuffer()
operator, but I just can't get it right.
When having A
, B
, C
, D
, E
, F
emitted one after another with some delay, I would like to have an Observable
emitting: [A]
, [A, B]
, [A,B,C]
, [B, C, D]
, [C, D, E]
, [D, E, F]
. We are only interested in last values, so I suppose, we could use here a Flowable
.
Thanks.gsala
06/07/2019, 12:07 PM.scan
and use some kind of queue/stack structure like Deque
as the accumulatorubu
06/07/2019, 9:02 PMalexsullivan114
06/18/2019, 3:41 PMcombineLatest
but that emits a tuple or whatever with null values until every stream has emitted