[英]Make main suspend
In the official documentation for kotor , when creating a client, it is written to use suspend.在kotor的官方文档中,创建客户端时,写的是使用suspend。 enter image description here
在此处输入图像描述
But I do not have such an item in the menu.但是我的菜单中没有这样的项目。 What needs to be done?
需要做什么? enter image description here Why do I need to use suspend at all when calling the kotor method?
enter image description here为什么我在调用 kotor 方法时需要使用 suspend?
You need to add the keyword suspend to the call function.您需要在调用 function 时添加关键字 suspend。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.