Stream.DisposeAsync() .NET Standard 2.0 [Answered]
Is there any way to dispose a stream asynchronously in .NET Standard 2.0?
Would using
Would using
await Task.Run(stream.Dispose); work?await Task.Run(stream.Dispose);