Is it possible to wait on a task from a thread other than the parent thread?
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.
精彩评论