JoyDomHostEventHandler

typealias JoyDomHostEventHandler = (<Error class: unknown class>) -> Unit

The single host callback a store-backed JoyDom dispatches into.

It fires for what the document did not consume: a binding whose name matches no handler arrives here unchanged (the same thing a plain JoyDom(spec, onEvent = …) would have delivered), and so does an event action a handler reached. Everything a handler did consume never appears — it became state.