shubhamranjan / dotnet-etcd

A C# .NET (dotnet) GRPC client for etcd v3 +
MIT License
266 stars 60 forks source link

Wrong way of using of TaskCreationOptions.LongRunning #225

Closed luboid closed 3 months ago

luboid commented 3 months ago

It looks like TaskCreationOptions.LongRunning is preferred to be used when the task is a sync method that is computationally bound, but not async which will give up control of the thread running task on the next await