I have a method which returns a Task where the implementation may or may not need to perform a slow operation in order to retrieve the result. I would like to be able to si
If you have a synchronous version of the method that returns the result you can do the following
Task(()=> Hello(Name));
The hello method would look like below.
public String Hello(String Name) { return "Hello " + Name; }