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

setup_standard_scan overrides your callbacks. #14

Open
thetoster opened this issue Apr 21, 2017 · 4 comments
Open

setup_standard_scan overrides your callbacks. #14

thetoster opened this issue Apr 21, 2017 · 4 comments

Comments

@thetoster
Copy link

This is unacceptable from perspective of user, if I set my callbacks on object then I'm not expecting some magic overwrites of it. Especially if I must call this method to get characteristics. I believe there should be channing of callbacks or listener approach or 2 levels of callbacks (special case of chainning).

@edrosten
Copy link
Owner

edrosten commented Apr 21, 2017 via email

@edrosten
Copy link
Owner

edrosten commented Apr 21, 2017 via email

@thetoster
Copy link
Author

OnConnect/OnDisconnect
I've written wrapper around your library to close it into communication abstraction. And I need to know if my IO channel is in connected/disconnected state so I have to react on those callbacks.

@edrosten
Copy link
Owner

edrosten commented Apr 21, 2017 via email

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

2 participants