SUSPEND , tryEmit 将总是成功的,所以你可以使用 tryEmit() 而不是 value = 。 private val _topics = MutableSharedFlow<List<String>>( replay = 1, ...
確定! 回上一頁