ASP.NET MVC 2 asynchronous action with timeout
- by thatismatt
I want to write an asynchronous action in ASP.NET MVC 2 that waits up to 5 seconds for an event to occur. If the event occurs then the server responds with a result, otherwise the request times out.
What is the best way to achieve this?