Module reactor

Module reactor 

Source
Expand description

First-class reactor vocabulary for Live sessions.

This module is intentionally small: it defines the normalized events, reactions, and typed effects that existing mechanisms can migrate onto incrementally without rewriting the current control plane in one step.

Structs§

EffectPolicy
Execution policy for an effect.
LiveReactor
Ordered collection of reactor rules.
PromptOnPlaybackDrained
Prompt the model when browser playback is fully drained and a prompt is armed.
Reaction
A policy-wrapped effect.
UserSpeechActivityRule
Cancel pending model prompts and signal activity around user speech.
VoiceRuntimeState
Voice-flow state owned by the reactor.

Enums§

EffectMode
Whether an effect must complete before the reactor continues.
LiveEffect
A typed runtime effect emitted by a reaction.
ReactorEvent
A normalized event that can drive ADK-level reactions.

Traits§

ReactorRule
A rule that reacts to normalized events and emits typed effects.