In the code below, due to the interface, the class LazyBar must return a task from its method (and for argument\'s sake can\'t be changed). If LazyBar
LazyBar
return Task.CompletedTask; // this will make the compiler happy