Stop using Mainloop
It's a convenience module that has gone out of fashion, nowadays the recommendation is to use GLib.idle_add()
, GLib.timeout_add()
and friends directly (see the gjs wiki).
It's a convenience module that has gone out of fashion, nowadays the recommendation is to use GLib.idle_add()
, GLib.timeout_add()
and friends directly (see the gjs wiki).