Skip to content
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

小建议:MutableResult添加扩展方法 #36

Open
PengShaoLei1997 opened this issue Sep 20, 2022 · 1 comment
Open

小建议:MutableResult添加扩展方法 #36

PengShaoLei1997 opened this issue Sep 20, 2022 · 1 comment
Labels

Comments

@PengShaoLei1997
Copy link

目的为了降低创建时代码的耦合性,后续可以考虑添加一个“asResult”方法。

扩展方法:
image

使用:
image

@KunMinX
Copy link
Owner

KunMinX commented Sep 20, 2022

感谢你的建议。

考虑到对 Java 开发者的兼容,目前暂不引入 kotlin 依赖。
本 issue 保持 open,供有需要的 kotlin 开发者参考。

@KunMinX KunMinX added the 精华 label Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants