countExpectedDocuments

suspend fun countExpectedDocuments(loader: CsafLoader = lazyLoader, channelCapacity: Int = DEFAULT_CHANNEL_CAPACITY, startingFrom: Instant? = null): Int

This function sums up the expected number of RetrievedDocuments that will be fetched from this Provider.

Return

The expected number of RetrievedDocuments provided.

Parameters

loader

The instance of CsafLoader used for fetching of online resources.

channelCapacity

The capacity of the channels used to buffer parallel fetches. Defaults to DEFAULT_CHANNEL_CAPACITY.