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

x/openai/resources/mod.ts>Files#waitForProcessing

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method Files.prototype.waitForProcessing
import { Files } from "https://deno.land/x/openai@v4.62.0/resources/mod.ts";

Waits for the given file to be processed, default timeout is 30 mins.

Parameters

id: string
optional
unnamed 1: { pollInterval?: number; maxWait?: number; } = [UNSUPPORTED]