T - type of the itempublic interface AsyncCursor<T>| Modifier and Type | Method and Description |
|---|---|
boolean | hasNext() |
void | next(Handler<AsyncResult<T>> handler)Get the next item |
boolean hasNext()
void next(Handler<AsyncResult<T>> handler)
handler - will be called when the item has been retrieved