Skip to content

AsyncDisposableBase.asyncDispose method

AsyncDisposableBase › asyncDispose

Disposes the object. Convenience alias that delegates to this[Symbol.asyncDispose]().

Signature:

asyncDispose(): Promise<void>

Returns: Promise<void>A Promise that resolves once teardown completes.