Cursor companion object
Attributes
Members list
Type members
Classlikes
Indicates that a required result cannot be found.
Indicates that a required result cannot be found.
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Producttrait Equalstrait NoStackTraceclass NoSuchElementExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Self type
'''EXPERIMENTAL'''
'''EXPERIMENTAL'''
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
'''EXPERIMENTAL'''
Types
Attributes
- A
the state type
- See also:
Value members
Concrete methods
Error handler to continue on error (see Cursor.foldWhile and Cont).
Error handler to continue on error (see Cursor.foldWhile and Cont).
Attributes
- callback
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).
Attributes
- callback
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).
Attributes
- callback
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).
Attributes
- callback
the callback function applied on each value.
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)