Skip to content

shellDBus: Await Eval() result

Florian Müllner requested to merge fmuellner/gnome-shell:async-eval into main

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.

Merge request reports