We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How to get the caller (e.g. msg.sender) in method registered with exportInterface?
The text was updated successfully, but these errors were encountered:
At the moment it's not possible, the only way to access to that is to listen on bus.connection.on('message')
bus.connection.on('message')
Method is called there:
dbus-native/lib/bus.js
Line 169 in 19e7ce1
We can probably pass whole message as "this" parameter ( or this.context or something )
Sorry, something went wrong.
I did it with "prependListener" with saving the message in a global variable, but it is a bad solution, so issue will be opened.
No branches or pull requests
How to get the caller (e.g. msg.sender) in method registered with exportInterface?
The text was updated successfully, but these errors were encountered: