This repository was archived by the owner on Nov 2, 2023. It is now read-only.
  
  
  
  
Replies: 1 comment 5 replies
-
| 
         
  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    5 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
抱歉又打扰你了,有的异步我觉得没有任何意义,例如
await client.getGroupInfo(msg.group_id)和client.pickGroup(msg.group_id).info || {},强行异步只会增加使用成本,设计 API 的时候或许更多的考虑了调用形式的一致?我觉得这些 API 有一个 Sync 版本会更好一些,个人觉得除非必要尽量不异步,另外我确实没搞明白为啥以前这是个同步的 API 现在变异步了,因为我是在同步环境中用的所以只能去使用本来不应该暴露出来的方法,这样有点奇怪。Beta Was this translation helpful? Give feedback.
All reactions