3 ms·
IDisposable's dispose is not an async function, there is no IAsyncDisposable interface with language support. There is however, a proposal https://github.com/do
by inglor 11y ago
IDisposable's dispose is not an async function, there is no IAsyncDisposable interface with language support. There is however, a proposal https://github.com/dotnet/roslyn/issues/114 https://github.com/dotnet/roslyn/issues/114 , I'm not dissing the language but things are the way they are.