@kayahr/scope
    Preparing search index...

    Function disposeAsync

    • Asynchronously disposes the given disposable handle.

      The asynchronous disposal method is preferred when present. Synchronous disposable handles are supported as a fallback.

      Parameters

      • target: Disposable | AsyncDisposable

        The disposable handle to dispose.

      Returns Promise<void>