IAsyncDisposable

Objects that implement IAsyncDisposable may be used in await using statements

Interface Synopsis

interface IAsyncDisposable  {...}
  • ->__disposeAsync(): Awaitable<void>
    This method is invoked exactly once at the end of the scope of the await using statement, unless the program terminates with a fatal error