VoiceAgentLiveEventHandler type

1種類のGPT Liveイベント用ハンドラー。

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