Pluggy.HTTP.Cursor (PluggyAI v0.1.0)

Copy Markdown View Source

An opaque cursor for paginated API responses.

Holds a fetcher function and the next page number. Pass to Pluggy.HTTP.next/1 to fetch the next page.

Summary

Types

t()

@type t() :: %Pluggy.HTTP.Cursor{fetcher: Pluggy.HTTP.fetcher(), page: pos_integer()}