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
Just like #47, the MonitorObserver API needs to be reworked to remove the explicit action argument.
MonitorObserver
action
device
device.action
DeprecationWarning
callback
event_handler
The text was updated successfully, but these errors were encountered:
adc89b3
swsnr
No branches or pull requests
Just like #47, the
MonitorObserver
API needs to be reworked to remove the explicitaction
argument.Implementation
Call the callback with thedevice
only.Wrap callbacks with two arguments in a closure that explicitly passesdevice.action
as first argument.DeprecationWarning
if a callback with two arguments is passed toMonitorObserver
.~~~Addcallback
argument taking a single argument.Deprecateevent_handler
argument.The text was updated successfully, but these errors were encountered: