IndexingContextQueue WaitOnCommands Method Ankiro Enterprise Suite Reference Documentation
Waits until at least one index command is queued, resets the internal command queue and returns the queued event(s). maxWait may be used to control the maximum timespan to wait for an indexing command to be queued. Alternatively the method blocks indefinitely, until Enqueue is invoked.

Namespace: Ankiro.SearchServer.Data.IndexingContext
Assembly: Ankiro.SearchServer.Data (in Ankiro.SearchServer.Data.dll) Version: 1.13.770.19207 (1.13.770.19207)
Syntax

public IndexingContextCommand[] WaitOnCommands(
	Nullable<TimeSpan> maxWait = null
)

Parameters

maxWait (Optional)
Type: System Nullable TimeSpan 

Return Value

Type:  IndexingContextCommand 
See Also