Introduce the await_signal function to monitor D-Bus signals with a timeout. This uses GLib's MainLoop and threading to wait for signals efficiently while respecting a specified timeout duration.
Introduce the await_signal function to monitor D-Bus signals with a timeout. This uses GLib's MainLoop and threading to wait for signals efficiently while respecting a specified timeout duration.