Function AggregateOptions.maxAwaitTime
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.
void maxAwaitTime
(
core .time .Duration d
) @safe;
Note
This option is specified as "maxTimeMS" in the getMore command and not provided as part of the initial find command.