dan.the.man
04/01/2021, 4:54 PMemit(newValue)
and value = newValue
like there was for post/value in Livedata? I'm not seeing any documentation, I think we're supposed to use Emit, but using value = appears to be working in my code?Zach Klippenstein (he/him) [MOD]
04/01/2021, 5:40 PMdan.the.man
04/01/2021, 5:42 PMOrhan Tozan
04/01/2021, 7:14 PMHowever MutableStateFlow never experiences back pressure (it always has “drop oldest” behavior), so emit will never suspend. It's just there because MutableStateFlow extends MutableSharedFlow
Inheritance🙁
Zach Klippenstein (he/him) [MOD]
04/01/2021, 8:21 PM