IAsyncDisposable

Objects that implement IAsyncDisposable may be used in await using statements

Interface Synopsis

interface IAsyncDisposable {...}

Public Methods

  • ->__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