Share via


ChangeFeedProcessorBuilder.WithPollInterval(TimeSpan) Method

Definition

Gets or sets the delay in between polling the change feed for new changes, after all current changes are drained.

public Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder WithPollInterval (TimeSpan pollInterval);
member this.WithPollInterval : TimeSpan -> Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder
Public Function WithPollInterval (pollInterval As TimeSpan) As ChangeFeedProcessorBuilder

Parameters

pollInterval
TimeSpan

Polling interval value.

Returns

The instance of ChangeFeedProcessorBuilder to use.

Remarks

Applies only after a read on the change feed yielded no results.

Applies to