kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
Loading...
Searching...
No Matches
pagination.hpp File Reference
#include "kalshi/error.hpp"
#include <cstddef>
#include <limits>
#include <optional>
#include <string>
#include <string_view>
#include <type_traits>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  kalshi
 

Functions

template<class Fetch , class Response , class Items >
Result< std::vector< typename Items::value_type > > kalshi::collect_pages (Fetch &&fetch, Items Response::*items, std::size_t max_pages=std::numeric_limits< std::size_t >::max())
 Follows cursors through a list operation and collects every page's items.