scrivener v2.0.0 Scrivener.Paginater protocol

The Scrivener.Paginater protocol should be implemented for any type that requires pagination.

Summary

Functions

The paginate function will be invoked with the item to paginate along with a Scrivener.Config. It is expected to return a Scrivener.Page

Types

t :: term

Functions

paginate(pageable, config)

Specs

The paginate function will be invoked with the item to paginate along with a Scrivener.Config. It is expected to return a Scrivener.Page.