method Runs.prototype.createAndPollimport { Runs } from "https://deno.land/x/openai@v4.53.2/resources/beta/threads/runs/runs.ts"; createAndPoll(threadId: string,body: RunCreateParamsNonStreaming,options?: Core.RequestOptions & { pollIntervalMs?: number; },): Promise<Run>A helper to create a run an poll for 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: stringbody: RunCreateParamsNonStreamingoptionaloptions: Core.RequestOptions & { pollIntervalMs?: number; }ReturnsPromise<Run>