altdesktop / python-dbus-next

🚌 The next great DBus library for Python with asyncio support
https://python-dbus-next.readthedocs.io/en/latest/
MIT License
187 stars 59 forks source link

Unsubscribe from a signal #65

Closed achandel closed 3 years ago

achandel commented 3 years ago

Once I attach a callback to a signal, how do I remove it?

acrisci commented 3 years ago

It's not documented, but there's off_[SIGNAL]() which takes the callback you provided with on_[SIGNAL]().

This should be added to the documentation.