longPollDocumentsStatus

abstract suspend fun longPollDocumentsStatus(vararg ids: String): DataProviderResponse<GetDocumentStatusResponse>

Long poll / wait for the DocumentStatus of one or more documents. The api will wait until one of the queried documents' statuses has changed, or when one or more documents have reached a terminal state to respond.

Return

A DataProviderResponse containing the the list of documents

abstract suspend fun longPollDocumentsStatus(ids: List<String>): DataProviderResponse<GetDocumentStatusResponse>