Yanneck Reiß
Sep 30, 2022

--

If you take a look at the documentation and implementation of the `MutableSharedFlow` you can see that by default the `replay` value and `extraBufferCapacity` is set to 0 . The overall `bufferCapity` is therefore set to 0 and thus no values should be held in memory.

Of course, if you set the replay value to 1 for example, the value would be held in memory. That is maybe something I could append to the article. Thank you for your feedback :)

--

--

Yanneck Reiß
Yanneck Reiß

Written by Yanneck Reiß

Follow me on my journey as a professional mobile and fullstack developer

No responses yet