AggregateOptions.maxAwaitTimeMS

The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query. This only applies to a TAILABLE_AWAIT cursor. When the cursor is not a TAILABLE_AWAIT cursor, this option is ignored.

Note: This option is specified as "maxTimeMS" in the getMore command and not provided as part of the initial find command.

struct AggregateOptions
@since(WireVersion.v32)
Nullable!long maxAwaitTimeMS;

Meta