Stamp seq/ts/source onto an event body and hand it to the host's onEvent, wrapped so a THROWING host handler can never wedge the component into a state that skips a safety. seqRef is a mutable ref (useRef(0)) so seq is monotonic per instance.
onEvent
seqRef
useRef(0)
seq
Stamp seq/ts/source onto an event body and hand it to the host's
onEvent, wrapped so a THROWING host handler can never wedge the component into a state that skips a safety.seqRefis a mutable ref (useRef(0)) soseqis monotonic per instance.