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

About thread mode #77

Open
achinastone opened this issue Oct 27, 2023 · 1 comment
Open

About thread mode #77

achinastone opened this issue Oct 27, 2023 · 1 comment

Comments

@achinastone
Copy link

achinastone commented Oct 27, 2023

Can you provide a ThreadMode:
The subscriber method will be invoked in the thread the RegisterSubscriberForEvent be called.
or
Alternatively, when calling RegisterSubscriberForEvent, we can specify the thread the subscriber method will be invoked

@achinastone
Copy link
Author

Usually, events may occur in many places. The response events need to be processed on the same thread. Among the currently provided threadmode, only main has this characteristic, and other business threads do not have this ability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant