gnome-shell/js/gdm
Florian Müllner 764527c8c9 js: Promisify async operations
Promises make asynchronous operations easier to manage, in particular
when used through the async/await syntax that allows for asynchronous
code to closely resemble synchronous one.

gjs has included a Gio._promisify() helper for a while now, which
monkey-patches methods that follow GIO's async pattern to return a
Promise when called without a callback argument.

Use that to get rid of all those GAsyncReadyCallbacks!

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1126
2020-03-31 05:43:40 +00:00
..
authPrompt.js js: Do not set entries' ClutterText:editable property 2020-03-29 22:12:57 +02:00
batch.js cleanup: Avoid unnecessary braces 2019-11-11 19:25:14 +00:00
fingerprint.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
loginDialog.js js: Add missing chain-ups in vfuncs 2020-03-27 10:39:58 +01:00
oVirt.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
realmd.js realmd: Set login format to null on start and update if invalid 2019-09-09 19:28:18 +00:00
util.js js: Promisify async operations 2020-03-31 05:43:40 +00:00