This most likely came up before but I was unable to find it.
Is there a way for a plugin to tell whether it’s just being scanned, as opposed to being loaded for actual use? My plugin needs to extract big files before first use (uncompress sounds), which can take a minute or so. Doing this during a scan might not be ideal, so I wanted to postpone it until the plugin is actually loaded for use.
Is this information available somehow? What would be the ideal function to hook into?