> > What is the recommended way of aborting an > > async function so that another invocation can > > be made only after the previous one has > > stopped, thus ensuring that there is at most > > one invocation at any time? > > > > I think I don't fully understand the question here. You can simply add > the invocations into another async method, thus chaining them one after > another. Isn't that what you mean?
What I really meant is something like this. First call an async function: async_func (xx); after a while something happens in the main line (not in the async function) that requires this: signal and wait for the invocation async_func (xx) to stop async_func (yy); So, what's the recommended way to "signal and wait for the invocation async_func (xx) to stop" so that asyn_func (yy) can proceed afresh? hand Nor Jaidi Tuah _______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
