VoiceAgentLiveEventHandler type

Gestor para un tipo de evento GPT Live.

type VoiceAgentLiveEventHandler<K> = (
  event: Extract<VoiceAgentLiveEvent, { type: K }>
) => void