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

提供面向Java的lambda兼容转化工具 #453

Merged
merged 4 commits into from
Sep 10, 2022

Conversation

ForteScarlet
Copy link
Member

val foo(block: suspend T.() -> Unit)

可以在Java中使用:

foo(Lambdas.suspendSupplier(t -> { /* ... */ }));

更多内容参阅 Lambdas

@ForteScarlet ForteScarlet added the 特性 一个新特性,或者一个新的功能/能力 label Sep 10, 2022
@ForteScarlet ForteScarlet merged commit bb77c74 into v3.0.0-beta-dev Sep 10, 2022
@ForteScarlet ForteScarlet deleted the lambda_transform branch September 10, 2022 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
特性 一个新特性,或者一个新的功能/能力
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant