We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如 val topArticleListDefferd = async { popularRepository.getTopArticleList() } 这个async又调用到BaseViewModel的async 方法,而BaseViewModel的async 方法又调用: return viewModelScope.async { block.invoke() } 为什么要多转一道呢?
The text was updated successfully, but these errors were encountered:
就是一个方法参数的传递啊,没啥影响,主要是创建了一个带返回值的协程
Sorry, something went wrong.
No branches or pull requests
比如 val topArticleListDefferd = async {
popularRepository.getTopArticleList()
}
这个async又调用到BaseViewModel的async 方法,而BaseViewModel的async 方法又调用:
return viewModelScope.async { block.invoke() }
为什么要多转一道呢?
The text was updated successfully, but these errors were encountered: