Snodo.Client.Page (snodo v0.2.0)

Copy Markdown View Source

One page of a list operation returned by Snodo.Client.list_page/3.

items holds the listed definitions exactly as the server sent them. next_cursor is nil on the last page. result is the whole JSON-RPC result object, including cache hints and _meta.

Summary

Types

t()

@type t() :: %Snodo.Client.Page{
  items: [map()],
  next_cursor: String.t() | nil,
  result: map()
}