You need a MainLoop to run async methods in vala

On Tue, Feb 16, 2016, 8:19 AM mar...@saepia.net <mar...@saepia.net> wrote:

> Hello,
>
> I need some advice on testing async methods.
>
> When I run .begin() in the isolated test suite (where mainloop is not
> running) it seems that .end() callback never gets called.
>
> What is the best way to trigger running async methods? Should I just spawn
> mainloop on purpose or is there any clearer way to do this?
>
> Thank you in advance,
>
> Marcin
> _______________________________________________
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to