Is there a flatMap variant which drops upstream emits when body is not completed yet
Is overriding concurrency to 1 in flatMapMerge okay or should I have a custom operator
👀 1
w
wasyl
06/09/2021, 6:37 AM
Is there a flatMap variant which drops upstream emits when body is not completed yet
flatMapLatest
u
ursus
06/09/2021, 1:54 PM
no I mean upstream, not downstream
blob thinking upside down 1
z
Zach Klippenstein (he/him) [MOD]
06/09/2021, 3:30 PM
Use one of the other operators before your flat map:
buffer
or
conflate
.
👍 1
u
ursus
06/11/2021, 10:14 PM
how would I use buffer? is there a way for the buffer to be signalled when downstream emits? i.e how would buffer know when to stop buffering (& dropping). I'm only aware of time or size buffering