once(eventName, callback)
Subscribes to a Daily call event and fires the callback exactly once, then automatically removes the listener. Follows the Node.js EventEmitter interface.
Returns this, so calls can be chained.
Parameters
The event name to subscribe to. See the Events reference for all available events.
Function called when the event fires. Automatically removed after the first invocation.
Return value
Returnsthis (the DailyCall instance) for chaining.