Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
interface IAsyncAwaiter
import { type IAsyncAwaiter } from "https://deno.land/x/aiformrecognizer@v1.1.0/src/interfaces/document-analysis.ts";

Async operation awaiter. Once wated, will pull the results until completed.

Type Parameters

TResult extends { id: string; }

Methods

wait(abort?: AbortSignal): Promise<TResult>

Starts pulling the result into the progress property and returns the result once completed

abort(): void

Aborts the operation

getter
status(): OperationStatus

Current progress status

getter
progress(): TResult

gets the current progress