vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Function FindOptions.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;


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


Jan Jurzitza


© 2022 Jan Jurzitza


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.