I want to create a completed Task (not Task). Is there something built into .NET to do this?
Task
A related question: Create a complete
How about:
#pragma warning disable 1998 public async Task emptyTask() { } #pragma warning restore 1998
You can leave out the warning suppression if you don't mind it.