milvus-logo
LFAI
< Docs
  • C#

WaitForCollectionLoadAsync()

Polls Milvus for loading progress of a collection until it is fully loaded. To perform a single progress check, use GetLoadingProgressAsync.

Invocation

await collection.WaitForCollectionLoadAsync(partitionNames = null, waitingInterval = null, timeout = null, progress = null, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
partitionNamesAn optional list of partition names for which to check the loading progress.IReadOnlyList<string>?False
waitingIntervalWaiting interval. Defaults to 500 milliseconds.TimeSpan?False
timeoutHow long to poll for before throwing a TimeoutException.TimeSpan?False
progressProvides information about the progress of the loading operation.IProgress<long>?False
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

This method does not return any value.