Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/pagination.ts>Page

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
class Page
implements PageResponse<Item>
extends AbstractPage<Item>
import { Page } from "https://deno.land/x/openai@v4.53.2/pagination.ts";

Note: no pagination actually occurs yet, this is for forwards-compatibility.

Constructors

new
Page(
client: APIClient,
response: Response,
)

Properties

data: Array<Item>
object: string

Methods

nextPageInfo(): null

This page represents a response that isn't actually paginated at the API level so there will never be any next page params.