import { EventStream } from "https://deno.land/x/openai@v4.59.0/lib/EventStream.ts";
Removes the specified listener from the listener array for the event. off() will remove, at most, one instance of a listener from the listener array. If any single listener has been added multiple times to the listener array for the specified event, then off() must be called multiple times to remove each instance.
Parameters
event: Event
listener: EventListener<EventTypes, Event>