VideoRoomSessionMethodsonceAsk a question|Copy page|View as Markdown|More actionsonce once(event, fn) Attaches an event handler to the specified event. The handler will fire only once. Parameters NameTypeDescriptioneventstringName of the event. See the list of events.fnFunctionAn event handler.