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