Move portable thread pool to shared partition (dotnet/corert#7828)
[mono-project.git] / netcore / System.Private.CoreLib / shared / System / IAsyncDisposable.cs
blobc29f549df294a54cd3cf09b83b844a215ccf7c0b
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 using System.Threading.Tasks;
7 namespace System
9 /// <summary>Provides a mechanism for releasing unmanaged resources asynchronously.</summary>
10 public interface IAsyncDisposable
12 /// <summary>
13 /// Performs application-defined tasks associated with freeing, releasing, or
14 /// resetting unmanaged resources asynchronously.
15 /// </summary>
16 ValueTask DisposeAsync();