Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Task.FromResult(null)

//For returning a null on an async func with no await its best to do:

return Task.CompletedTask
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
6+7 =