ex_swift v0.2.0 ExSwift.Pagination

Helper module to create streams out of paginated API results.

Link to this section Summary

Functions

Create stream for paginated results

Link to this section Types

Link to this type

opts()
opts() :: list()

Link to this type

stream_builder_fn()
stream_builder_fn() :: (opts() -> stream_builder_return())

Link to this type

stream_builder_return()
stream_builder_return() :: {:ok, %{body: list()}} | {:error, any()}

Link to this section Functions

Link to this function

stream!(stream_builder_fn, overrides \\ [])
stream!(stream_builder_fn(), opts()) :: Enumerable.t()

Create stream for paginated results