framework/page
Keyset pagination; transformations preserve the cursor.
Types
pub type Page(item) {
Page(items: List(item), next: option.Option(Cursor))
}
Constructors
-
Page(items: List(item), next: option.Option(Cursor))
Values
pub fn cursor_to_string(value: Cursor) -> String