Open JumpLink opened 2 months ago
I'm looking at what happened here, should have a fix in the next few weeks.
I'm upgrading a GNOME extension to ts-for-gir 4.0.0 types, and noticed missing promisified overloads as well:
Soup.Session.send_async
Soup.Session.send_and_read_async
Gio.File.delete_async
Is this the same issue, or should I rather open a new one?
@swsnr I think this will be the same problem, so it will be correct here.
@ewlsh In v3 I just checked if there are methods with the same prefix and ending with _async
and the other with _finish
, but that might not be so clean either, especially since there are some cases where this convention is not followed
@ewlsh could you explain a bit how this works with you new parser atm? Maybe a good start to get into your code base.
Sorry for the delay here, adding some context and potential fixes here: https://github.com/gjsify/ts-for-gir/pull/177
@ewlsh Some promisified methods are missing, for example for
Gio.read_async
+Gio.read_finish
orGio.File.load_contents_async
+Gio.File.load_contents_finish