Slackbot
04/04/2022, 3:01 PMJoffrey
04/04/2022, 3:01 PMFlow or a StateFlow? If a plain Flow, what do you mean by "its value"?the great warrior
04/04/2022, 3:02 PMthe great warrior
04/04/2022, 3:03 PMJoffrey
04/04/2022, 3:04 PMFlow is a stream of values, so if you have a Flow<Boolean> it's not obvious which boolean value you're talking about. Do you mean the first emitted value upon collection?the great warrior
04/04/2022, 3:05 PMJoffrey
04/04/2022, 3:07 PMthe great warrior
04/04/2022, 3:08 PMJoffrey
04/04/2022, 3:08 PMFlow backed by? How are values produced? This might help me understand why it makes sense for you to talk about "the value" of the flowJoffrey
04/04/2022, 3:10 PMrunBlocking { flow.first() } but it's almost certainly wrong to do so, hence why I'm trying to grasp your particular use case betterJoffrey
04/04/2022, 3:12 PMthanks Joffrey Bion I really I appreciate your helpIs that sincere or passive-aggressive?
the great warrior
04/04/2022, 3:17 PMJoffrey
04/04/2022, 3:32 PMJoffrey
04/04/2022, 3:33 PMStateFlow instead would be more appropriate if you want to access a "current value" but also have observability.