I have a vb.net console app that reads data from rss feeds. I need a way to stop a function after 10 seconds. The main() calls about 30 functions and if one gets hung up while trying to read a feed, it will error out and stop the whole process. So what I want to do is call the function, and if it takes more then 10 second for a return, end that step and move on to the next functions. Any tips on how to do this?
What doesn't kill you makes you stronger.
What doesn't kill you makes you stronger.