TransactionScope
is a disposable type that almost always has I/O work to do on disposal.
Are there any plans for making TransactionScope
implement IAsyncDisposable
? (I am not aware of how readily the ADO.NET methods involved are available as async.)
@Timovzl We didn't have plans to do this, but we will consider it for 5.0.0. We need to do some investigation first to see how complicated the work will be.
Based on the votes on this Stackoverflow question (of mine) about that, it looks to me this feature is awaited by many people.
I don't understand either how this isn't included already. It is such a basic feature and together with https://github.com/dotnet/corefx/issues/42341, TransactionScope is basically not usable right now.
Most helpful comment
@Timovzl We didn't have plans to do this, but we will consider it for 5.0.0. We need to do some investigation first to see how complicated the work will be.