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

Matcher中Block和Break的使用 #96

Open
KevinT3Hu opened this issue Dec 7, 2024 · 1 comment
Open

Matcher中Block和Break的使用 #96

KevinT3Hu opened this issue Dec 7, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@KevinT3Hu
Copy link

Matcher结构体中有Block和Break属性,但在OnXxx API中未暴露相关选项。如果有使用需求,只能自己重写OnXxx构建Matcher吗

@fumiama
Copy link
Collaborator

fumiama commented Dec 8, 2024

.SetBlock可设置Block,ctx.Break()阻断后续触发。

@fumiama fumiama added the documentation Improvements or additions to documentation label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants