Continue with given value
Successfully stop processing with given value
Ends processing due to failure of given cause
A state of the cursor processing.
Error handler to continue on error (see Cursor.foldWhile and Cont).
Error handler to continue on error (see Cursor.foldWhile and Cont).
the callback function applied on last (possibily initial) value and the encountered error
Error handler to end on error (see Cursor.foldWhile and Done).
Error handler to end on error (see Cursor.foldWhile and Done).
the callback function applied on last (possibily initial) value and the encountered error
Error handler to fail on error (see Cursor.foldWhile and Fail).
Error handler to fail on error (see Cursor.foldWhile and Fail).
the callback function applied on last (possibily initial) value and the encountered error
Value handler, ignoring the values (see Cursor.foldWhile and Cont).
Value handler, ignoring the values (see Cursor.foldWhile and Cont).
the callback function applied on each value.
Indicates that a required result cannot be found.
Flattens the given future reactivemongo.api.Cursor to a reactivemongo.api.FlattenedCursor.
Flattens the given future reactivemongo.api.Cursor to a reactivemongo.api.FlattenedCursor.
import scala.concurrent.Future import reactivemongo.api.Cursor def flatCursor[T](cursor: Future[Cursor[T]]): Cursor[T] = Cursor.flatten(cursor)
Cursor companion object