Spaghetti Tom
Thursday, February 22, 2018
Do a .FromResult while casting to a specific type in C#'s async/await paradigm.
var foo = await Task.FromResult<Whatever>(widgets);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment