Kotlin - does the blocking call nullify suspend? Case of 'Inappropiate blocking method call' warning

前端 未结 0 1907
南方客
南方客 2020-12-31 12:57

Consider following function

suspend fun writeToStream(osw: OutputStreamWriter, text: String) = withContext(Dispatch         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题