vibe.d beta banner
get vibe.d
0.10.1

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

Variable FindOptions.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.

struct FindOptions
{
  // ...
  std.typecons.Nullable!(long) maxAwaitTimeMS ;
  // ...
}

Note

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

Authors

Jan Jurzitza

Copyright

© 2022 Jan Jurzitza

License

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