gnome-shell/js
Florian Müllner 1fdcd6d5f8 shellDBus: Await Eval() result
The Eval() method currently evaluates the provided string, and
returns the result immediately. This isn't useful when a promise
is returned, which has become much more likely now that accessing
any module requires import().

Simply await the result, to handle both sync and async code.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3021>
(cherry picked from commit f2601e6888)
2023-11-30 18:39:06 +01:00
..
dbusServices Revert "screencastService: Add dmabuf/GL pipeline" 2023-10-31 22:45:56 +00:00
extensions extensions: Fix ngettext convenience 2023-09-15 21:41:30 +00:00
gdm cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
misc misc: Fetch environment from launch context before spawn_async() 2023-11-30 18:34:08 +01:00
portalHelper js: Port Config to ESM 2023-08-10 17:42:23 +00:00
ui shellDBus: Await Eval() result 2023-11-30 18:39:06 +01:00
js-resources.gresource.xml components: Change component loading to be asynchronous 2023-08-05 22:16:23 +02:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
portal-resources.gresource.xml js/portal-resources: Add missing fileUtils to js path 2022-11-03 18:02:27 +00:00