Linux.Bluetooth
Linux.Bluetooth copied to clipboard
Implement the WaitForPropertyValue extension for other objects
Details
Adds the WaitForPropertyValueAsync extension method for all DBus object which support reading values and watching properties. Normally one would implement this by creating a single interface but this isn't possible due to the way Tmds.DBus does code generation for DBus interfaces. This instead uses functions as arguments in order to abstract over the DBus interfaces.