
Thanks to recent gjs changes - namely the ability to promisify interface prototypes and promise-based D-Bus wrappers - we can modernize the ContentTypeDiscoverer API to use an async function instead of a callback. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2344>