-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
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
数据操作为什么不用future封装 #4
Comments
有什么问题吗?数据请求都是通过回调返回的,和Java SDK以及Android SDK一样的编写习惯。有更好的提议可以联系QQ:1769379819,谢谢反馈。 |
既然用了dart当然要用Future回调啊……要是和Java或者OC一样,搞不好不就还是回调地狱了,OC还有PromiseKit呢,真心建议提供Future回调。 |
你们的小程序(新)sdk不就是用了Promise回调吗,体验非常好,希望Dart也能有类似效果。 |
好的,谢谢反馈,我们会陆续完善,增加Future回调,表现Dart特性。 |
你好,新版v0.0.9已经修改回调为Future回调,谢谢反馈。 |
别的无关的地方用,就关键的用的最多的数据操作没有future封装,更过分的是,你们的内部方法是async的然后就返回了一个void?这个封装你们真的是认真写的吗
The text was updated successfully, but these errors were encountered: