method EventEmitter.prototype.onceimport { EventEmitter } from "https://dotland.deno.dev/std@0.110.0/node/events.ts"; once(eventName: string | symbol, listener: GenericFunction): thisAdds a one-time listener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked. Adds a one-time listener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked. ParameterseventName: string | symbollistener: GenericFunctionReturnsthis