Re: fetch loop
Re: fetch loop
- Subject: Re: fetch loop
- From: Ondra Cada <email@hidden>
- Date: Mon, 24 Apr 2006 18:08:50 +0200
Philippe,
On Apr 24, 2006, at 4:56 PM, Philippe Lafoucrière wrote:
First of all, "hi list, I'm a complete noob in wo".
Welcome!
Is there a way to create a continous loop in wo ?
Scores :)
I have to check a distant webservice every 30 seconds and fetch new
data if available.
In this very case, though, I do not really think a loop is what you
want: a WOTimer would probably be better.
Nevertheless, if you want to, you can easily spawn another thread,
use an infinite loop there, and sleep the thread for half a minute in
the loop. Generally I would rather recommend the timer approach, but
the latter can be more convenient in some cases (like, if a complex
initialization would be needed each time).
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >fetch loop (From: Philippe Lafoucrière <email@hidden>) |