Zainicjuj Kotlin MUTABLESTATEFLOW bez wartości początkowej
You can't, Mutable stateFlow require an initial value.
One way is to set this value nullable and init it with null.
But it's a trick and there is another way using channel and receive it as flow :
private val _status = Channel<Status>()
val status = statusChannel.receiveAsFlow()
abdullah