method Threads.prototype.createAndRunPollimport { Threads } from "https://deno.land/x/openai@v4.62.0/resources/beta/mod.ts"; createAndRunPoll(body: ThreadCreateAndRunParamsNonStreaming, options?: Core.RequestOptions & { pollIntervalMs?: number; }): Promise<Threads.Run>A helper to create a thread, start a run and then 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 Parametersbody: ThreadCreateAndRunParamsNonStreamingoptionaloptions: Core.RequestOptions & { pollIntervalMs?: number; }ReturnsPromise<Threads.Run>