task parallel library - MVP Winforms and TPL -


my application synchronous, using mvp. want introduce tpl pull report database takes number of seconds generate. have investigated threads , background workers , feel tasks way go.

where create tasks? in presenter? or create wrapper class tasks , use in presenter? use ioc inject presenter?

i thinking of unit testing too, how easy test method in presenter creates asyc calls?


Comments

Popular posts from this blog

ruby - How do I merge two hashes into a hash of arrays? -

java - the value of local variable is not used -