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

调整 Bot.emitEvent,移除回调、增加返回值 #225

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

ForliyScarlet
Copy link
Member

val result = bot.emitEvent(...)
when (result) {
    EmitResult.Dispatched -> {}
    is EmitResult.Verified -> {}
    else -> {}
}

@ForliyScarlet ForliyScarlet added the 特性 New feature or request label Oct 17, 2024
@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 [email protected]

@ForteScarlet ForteScarlet merged commit 0f41613 into dev/main Oct 17, 2024
4 checks passed
@ForteScarlet ForteScarlet deleted the dev/EmitResult branch October 17, 2024 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
特性 New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants