aballano
02/01/2022, 6:11 PMMutableSharedFlow
default constructor + tryEmit issue. I was reading through the issue and seems to me that the docs added here are not 100% accurate? It seems to me that they indicate that the tryEmit
call can succeed, but in reality it will always fail (aka not emit anything) but can return true or false depending on having subscribers or not, isn’t it? cc @elizarov Wondering if it would make sense to have a quick PR there to simplify the texting, could volunteer for that 🙂bezrukov
02/01/2022, 6:26 PMIt seems to me that they indicate that theNo, doc clearly says tryEmit only succeeds if there are no subscribers. Basically this sections says don't use tryEmit with default configurationcall can succeed, but in reality it will always fail (aka not emit anything)tryEmit
aballano
02/01/2022, 6:27 PMaballano
02/01/2022, 6:28 PM