Title: Equivalent to Thread.sleep()
Basically, I'm trying to stop executiong of a function until the result returns. When it returns, I want to get the result and return it as the return value to the function..basically a wrapper around a web service call that provides a synchronous response to the calling code. Any ideas onhow to do this?
 
 
Thanks,
 
Carson

____________________________________________

Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY ext. 89
Mobile: 1.703.489.6466

Take PowerBuilder to the Web with EAF 4.0
http://www.cynergysystems.com/public/products/eaf


 


From: Dimitrios Gianninas [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 11:47 AM
To: [email protected]
Subject: RE: [flexcoders] Equivalent to Thread.sleep()

Hi,
 
There is no equivalent. Are you try to make sure that when one call is finished the next one is executed (but only when the first one completed)? You can easily achieve this by making the second call once the result for the first one has been received.
 
Jimmy Gianninas
Software Developer - Optimal Payments Inc.
 


From: Carson Hager [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 06,2005 6:19 PM
To: [email protected]
Subject: [flexcoders] Equivalent to Thread.sleep()

Is there something in Flex that will put a thread to sleep for a period of time?  I'm implementing a framework to effectively allow synchronous invocation of web services from action script. I need to be able to put the thread to sleep for a period of time and check to see whether the results have made it back to the internal result handler.  I've searched the docs and have not found anything yet.  Any clever ideas how to do this?


Thanks,

Carson

____________________________________________

Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY ext. 89
Mobile: 1.703.489.6466




Reply via email to