Last post Apr 03, 2013 10:11 PM by justthebasics
Apr 01, 2013 08:53 PM|justthebasics|LINK
I'm looking into SignalR and wondering if its possible to take something that is a TPL setup, where you may have say 3 different calls and each subsequent one is dependent upon the other. (Task2.waits till Task1 completes and Task 3 waits till Task 2 completes)
or even like a MARS type approach where those three calls can be sent at once, but I'd need to process each dataset in order (as the first dataset determines things with the second, etc......I hope this makes sense?
Is this possible with with SignalR where there are dependencies and not just a straight vanilla call??
Apr 01, 2013 11:31 PM|davidfowl|LINK
I'm not clear on what you're asking. Illustrating what you want to accomplish with code might help.
Apr 02, 2013 09:37 AM|Curt_C|LINK
Are you asking on if you can put all the calls in at once but have them queue'd for sequential delivery?
Apr 02, 2013 09:53 PM|justthebasics|LINK
Right now I have a setup that makes 4 calls to the db, each call sets up the next calls parameters so to speak until I get to the final one that gets the data for a dashboard. I'm just trying to see if I can use SignalR for this kind of setup still where
it's not just a simple "chat" type vanilla setup where your simply polling / pushing out the latest chat message. A more complicated scenario where the live connection allows me to still process multiple individual calls and then present the data. I believe
it does I just wanted to see if for some reason this wouldn't be possible or any issue I may run into by doing this.
Apr 03, 2013 09:12 AM|Curt_C|LINK
It doesn't sound like it would be what you are after. From what you describe though you just need a Thread with Sych calls in it. Pretty much standard processing model for most apps.
Apr 03, 2013 10:11 PM|justthebasics|LINK
Thanks for your feedback guys