LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmith_openapi_clientLangsmithOffsetPaginationCommits
Class●Since v0.8

OffsetPaginationCommits

Copy
class OffsetPaginationCommits

Bases

AbstractPage<Item>

Constructors

constructor
constructor

Properties

property
body: unknown
property
commits: Item[]
property
options: FinalRequestOptions
property
response: Response
property
total: number

Methods

method
[asyncIterator]→ AsyncGenerator<Item>
method
getNextPage→ Promise<CursorPagination<Item>>
method
getPaginatedItems→ Item[]
method
hasNextPage→ boolean
method
iterPages→ AsyncGenerator<CursorPagination<Item>>
method
nextPageRequestOptions→ PageRequestOptions | null
View source on GitHub