Click or drag to resize

QueryOptionsScanWait Method

Specifies the maximum time the client is willing to wait for an index to catch up to the vector timestamp in the request. If an index has to catch up, and the ScanWait(TimeSpan) time is exceed doing so, an error is returned.

Namespace:  Couchbase.Query
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public QueryOptions ScanWait(
	TimeSpan scanWait
)

Parameters

scanWait
Type: SystemTimeSpan
The maximum time the client is willing to wait for index to catch up to the vector timestamp.

Return Value

Type: QueryOptions
A reference to the current QueryOptions for method chaining.
Remarks
Optional.
See Also