Mongo::ChangeStream::Cursor
Inherits Mongo::Cursor / Iterator / Enumerable / Reference / Object
Instance methods
next
Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there
are no more elements.
of(type : T) forall T
Will convert the elements to the Mongo::ChangeStream::Document(T) type while iterating the Cursor.
NOTE: see Mongo::Cursor.of
resume_token
The resume_token can be used to create a change stream that will start from this cursor position.