Ramp.Page (ramp v1.0.0)

Copy Markdown View Source

A single page of results from a Ramp list endpoint, returned by resource modules' list_page/2 functions for callers who want manual control over pagination instead of the lazy auto-paginating Ramp.Pagination.stream/4 (used internally by list/2).

Summary

Types

t()

@type t() :: t(term())

t(item)

@type t(item) :: %Ramp.Page{data: [item], next_cursor: String.t() | nil}