VoiceAgentLiveEventHandler type

Handler für einen GPT-Live-Ereignistyp.

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