Re: [Vala] Storing a list of delegates with targets?

2016-02-20 Thread Evan Nemerson
On Sun, 2016-02-21 at 00:30 +0100, mar...@saepia.net wrote: > Hello, > > I am writing a program where I would like to have possibility to add > arbitrary amount of callbacks which must be delegates. > > I would like to store them somewhere, and then call one after another > when > it's

[Vala] Storing a list of delegates with targets?

2016-02-20 Thread mar...@saepia.net
Hello, I am writing a program where I would like to have possibility to add arbitrary amount of callbacks which must be delegates. I would like to store them somewhere, and then call one after another when it's appropriate. My first step was public class Test : Object { public void delegate

Re: [Vala] Testing framework

2016-02-20 Thread mar...@saepia.net
I have started working on such project, first effects are here: https://github.com/mspanc/vspec m. 2016-02-02 3:25 GMT+01:00 Chris Daley : > Hi Evan, > Thanks for the offer, I've sent you a pull request on Github. I've got some > new Vala posts in the can that aren't

Re: [Vala] How to test async methods?

2016-02-20 Thread mar...@saepia.net
thanks! m. 2016-02-17 15:51 GMT+01:00 Ben Iofel : > You need a MainLoop to run async methods in vala > > On Tue, Feb 16, 2016, 8:19 AM mar...@saepia.net wrote: > >> Hello, >> >> I need some advice on testing async methods. >> >> When I run .begin() in the