开发者

Is it possible to wait on a task from a thread other than the parent thread?

开发者 https://www.devze.com 2023-04-08 19:01 出处:网络
I need to wait on a tas开发者_JAVA技巧k that I created in the production code from the test code. Is it possible to do that? I am using Nunit framework for testing.You should be able to Task.Wait from

I need to wait on a tas开发者_JAVA技巧k that I created in the production code from the test code. Is it possible to do that? I am using Nunit framework for testing.


You should be able to Task.Wait from any thread.

0

精彩评论

暂无评论...
验证码 换一张
取 消