Interface
AsyncDisposable
interface AsyncDisposable
Module: System
Assembly: System.Runtime.dll
Source file: AsyncDisposable.rvn
A resource whose cleanup may suspend. Await disposal before releasing its owner.
Derived interfaces
Documented types in this API reference. Indirect relationships are marked.
Methods
1 item
DisposeAsync() -> Task<void>
Completes after cleanup has finished. Call only when no other operation is pending.
Defined by AsyncDisposable.DisposeAsync · Required implementation (no default).