maxAwaitTimeMS property

int? maxAwaitTimeMS
getter/setter pair

The maximum amount of time in milliseconds the server waits for new data changes to report to the change stream cursor before returning an empty batch.

Defaults to 1000 milliseconds.

Implementation

int? maxAwaitTimeMS;