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

JVM中的EventListener兼容类型增加一个 nonBlock 类型用于简化响应式结果的使用 #855

Merged
merged 1 commit into from
Jun 16, 2024

Conversation

ForliyScarlet
Copy link
Member

var listener = EventListeners.nonBlock(
    context -> {
        return EventResult.of(
            Mono.just("Hello.");
        );
    }
);
var listener = EventListeners.nonBlock(
    Event.class,
    (context, event) -> {
        return EventResult.of(
            Mono.just("Hello.");
        );
    }
);

@ForliyScarlet ForliyScarlet added the 特性 一个新特性,或者一个新的功能/能力 label Jun 16, 2024
@ForteScarlet ForteScarlet merged commit 25c3fbf into v4.1.0-dev Jun 16, 2024
1 check passed
@ForteScarlet ForteScarlet deleted the basic-listeners-for-jvm branch June 16, 2024 15:25
@ForliyScarlet
Copy link
Member Author

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

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.

None yet

2 participants