Closed hartmannr76 closed 3 years ago
Reference discussion here.
Essentially, update all usages where Task's are returned without being awaited, to await them.
Task
Example
public Task DoThing() => return Task.Delay(1); // should be public async Task DoThing() => await Task.Delay(1);
Additionally, if there is a way to enforce this in a lint step, that could be investigated.
Reference discussion here.
Essentially, update all usages where
Task
's are returned without being awaited, to await them.Example
Additionally, if there is a way to enforce this in a lint step, that could be investigated.