Thursday, July 23, 2009

Implementing Functions that Times out after a pre-defined time interval

Hi All!

Been a long time! I found this post by Ohad extremely useful. This is about implementing functions that will time out after a specified time interval. This behavior would be expected in various cases - for example - when you wait for a web service to respond to you. So in this case you may choose to time out after you wait for 's' seconds and try some other service, for instance.

This is the link -

http://weblogs.asp.net/israelio/archive/2004/06/19/159985.aspx

Happy coding!

~ Karthik

No comments: