import { EventStream } from "https://deno.land/x/openai@v4.58.1/lib/EventStream.ts";
Adds a one-time listener function for the event. The next time the event is triggered, this listener is removed and then invoked.
Parameters
event: Event
listener: EventListener<EventTypes, Event>