Gio.VolumeMonitor::drive-changed

connect('drive-changed', function (volumeMonitor, drive: Gio.Drive, ): void);
  

Emitted when a drive changes.

volumeMonitor

instance of Gio.VolumeMonitor that is emitting the signal

drive

the drive that changed