Method

GomCursorexhaust

Declaration

DexFuture*
gom_cursor_exhaust (
  GomCursor* self
)

Description

Advance the cursor until it is exhausted and close it.

Return value

Type: DexFuture

A DexFuture that resolves once the cursor has been closed or rejects with error.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.