method Runs.prototype.pollimport { Runs } from "https://deno.land/x/openai@v4.61.1/resources/beta/threads/runs/runs.ts"; poll(threadId: string,runId: string,options?: Core.RequestOptions & { pollIntervalMs?: number; },): Promise<Run>A helper to poll a run status until it reaches a terminal state. More information on Run lifecycles can be found here: https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps ParametersthreadId: stringrunId: stringoptionaloptions: Core.RequestOptions & { pollIntervalMs?: number; }ReturnsPromise<Run>