[Seaside] break out of task

Lukas Renggli renggli at gmail.com
Mon Jul 9 08:03:22 UTC 2007


> how is WATask supposed to be used? There is an endless
> loop calling go on a task. How can I signal that this
> task is "finished"? I would have expected a self answer
> will do but it doesn't.

WATask answers what your method #go is returning, which is self if you
don't specify anything else. However if there is nobody that calls the
task, it is simply restarted.

What would you expect otherwise? To get an empty component?

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the Seaside mailing list