Hello Matias
Is this what you are looking for?
This only works with async methods that release the mainloop in between.
Please see attached file.
Compiled with:
valac --pkg gio-2.0 async2.vala
Regards
Jörn
>
> Basically I want to call an async method that waits for a response from
> some objec
Hello list,
Basically I want to call an async method that waits for a response from
some object. But, if after, lets say 2 seconds, it don't receive a
response, return an error.
I attached a test case of what i think it can work, but i don't know how
to resume/cancel an async method...
Any help