If you have a buffered SharedFlow with a slow and ...
# flow
r
If you have a buffered SharedFlow with a slow and fast collector, and the fast collector finishes collecting the most recent value, does the fast collector suspend until the slow collector finishes collecting that same most recent value? Or does the fast collector pull the next value from the buffer and get ahead of the slow collector? If the latter, is the total buffer space (replay + extraBuffer) equal to the amount of values a fast collector can get ahead of a slow collector?
@elizarov Would you be able to answer this?
e
Yes. That’s exactly what buffer space is for.
đź‘Ť 1