fetchDocuments

fun fetchDocuments(loader: CsafLoader = lazyLoader, channelCapacity: Int = DEFAULT_CHANNEL_CAPACITY, startingFrom: Instant? = null): ReceiveChannel<Result<RetrievedDocument>>

This function fetches all CSAF documents that are listed by this provider.

Return

The fetched Results, representing RetrievedDocuments or fetch/validation errors.

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.