A MongoDB cursor.
Note that the
nextmethod blocks until a result is received or the cursor is exhausted, so methods inherited from
Sequencethat iterate over the entire sequence may block indefinitely when used on tailable cursors (e.g.
It is safe toSee more
MongoCursorfrom another thread while it is blocked waiting on results, however.
public class MongoCursor<T> : CursorProtocol where T : Decodable, T : Encodable
The possible types ofSee more
MongoCursoran operation can return.
public enum MongoCursorType