Syntax
Parameters
string
required
The name of the event to subscribe to.
function
required
The callback function to run once when the event occurs. Receives
(event, instance) as parameters.Returns
Returns a
void operator.Examples
The following examples show different ways to use once:Do you need practical examples?
Learn how to apply the features available for embedded chat into your implementation with guidance and examples.

