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?
Was this page helpful?