Class AsyncModelScanner

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    
    public final class AsyncModelScanner
     implements AutoCloseable
                        

    Async version of ModelScanner for use with HiddenLayerClientAsync.

    This class provides async versions of all model scanning functionality, including file and folder scanning with multipart upload functionality.

    Important: This class implements AutoCloseable and manages a thread pool internally. Always use it in a try-with-resources block or explicitly call close() when done to ensure proper resource cleanup.

    Example usage:

    AsyncModelScanner(client).use { scanner ->
        val result = scanner.scanFile(options).get()
    }