Rebuild the underlying promise so the next turn can wait again.
Snapshot the current state. A METHOD (not a getter) so the class
structurally satisfies the AgentSpeakingEvent interface in
adapter.ts (isSet(): boolean) and the interruption path's
speaking.isSet() calls — the interface, the runtime, and every caller
agree on the call form.
Resolve any pending wait callers and stay resolved.
Resolve a Promise<void> once set is called.
asyncio.Eventanalogue: aPromise<void>+ external resolve handle.Awaiters call wait; producers call set the moment the gating condition holds. clear resets for the next turn. Used by the default
call()to wake the interruption path the instant the agent begins emitting audio.