-
Notifications
You must be signed in to change notification settings - Fork 3
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
On event #13
Comments
Hi @Sunny0218, Thanks for your questions. You can try the following code:
|
Thanks, I was going to try it out. I've always had a question, what does the third parameter "string_key" actually do? |
When registering the same topic event in multiple components, you can differentiate them using the "string_key".
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, it's me again.How can I on different events like native mqtt? For example:client.on('connect', function () {}).I want to be able to do the corresponding business logic as soon as I connect.
The text was updated successfully, but these errors were encountered: