并且 StateFlow 的 collect 收不到调用之前发射的数据。 val state = MutableStateFlow(1) coroutineScope { launch { for (i in 0..10) { state.emit(i) ...
確定! 回上一頁