GelotvBot.Pagination (GeloTVBot v0.1.0)

Copy Markdown View Source

Pagination helpers for raw platform API responses.

Summary

Types

next_fun()

@type next_fun() :: (map() -> nil | map() | keyword())

Functions

collect(request_fun, opts \\ [])

@spec collect(
  (keyword() -> GelotvBot.HTTPClient.response()),
  keyword()
) :: {:ok, [map()]} | {:error, term()}

twitch_next(arg1)

@spec twitch_next(map()) :: nil | keyword()

youtube_next(arg1)

@spec youtube_next(map()) :: nil | keyword()