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
Latest
class Page
implements PageResponse<Item>
extends AbstractPage<Item>
import { Page } from "https://deno.land/x/openai@v4.69.0/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.