On Fri, 2005-08-05 at 17:04 +0000, Dirk Meyer wrote:
> adjust to new kaa.notifier thread interface
[...]
>           # start search in thread
>           thread = kaa.notifier.Thread(fxd.guessImdb, searchstring, disc_set)
> !         thread.signals['completed'].connect(self.parse_results, item, 
> disc_set, box)
> !         thread.signals['exception'].connect(self.handle_exception, item, 
> box)
> !         thread.start()

I do like this API much better. :)

I should probably add a completed signal to NotifierCallback.  I can see
it being useful to want to know when a timer has just fired without
having to modify the timer callback (if you're pointing it to an
external function, say).

Jason.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to