I want to cancel a function after a timeout on android with kotlin coroutines but it doesn't work

后端 未结 0 336
生来不讨喜
生来不讨喜 2021-01-14 05:14

What I want to do is to translate a list of texts with google cloud translation which is works but sometimes it is very slow. So after 10 seconds I want to cancel it and wit

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