dgraph.net
dgraph.net copied to clipboard
Asynchronous methods should have an Async suffix
It's a convention in .NET to have the Async suffix on asynchronous methods. One example is the DgraphClient.Alter
method. When following the convention it should be DgraphClient.AlterAsync
.
For more information: https://docs.microsoft.com/en-us/dotnet/csharp/async#important-info-and-advice
You should add "Async" as the suffix of every async method name you write.
This is the convention used in .NET to more easily differentiate synchronous and asynchronous methods. Certain methods that aren't explicitly called by your code (such as event handlers or web controller methods) don't necessarily apply. Because they are not explicitly called by your code, being explicit about their naming isn't as important.
This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.