method EventEmitter.prototype.onceimport { EventEmitter } from "https://dotland.deno.dev/x/aleph@v0.1.8/events.ts"; once(eventName: string | symbol, listener: Function): thisAdds 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: FunctionReturnsthis