Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai/resources/files.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.38.5/resources/files.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]