What is the difference between using value and emit functions on a MutableStateFlow?
fun main() = runBlocking {
val mutable = MutableStateFlow(0)
launch {
mutable.collect {
println(it)
}
}
mutable.value = 1
mutable.emit(2)
}