Wednesday, May 8, 2019

What is difference between Task.FromResult and await Task.FromResult?

What I get that just Task.FromResult is blocking call, which is not recommended.

But I noticed that in async method await can be put in front of Task.FromResult. Does it make any difference?

What is difference between Task.FromResult and await Task.FromResult? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team