dispatchKeyboard
Dispatches one keyboard event synchronously to the focused component in the most recently committed frame. Pending geometry uses the same pre-input synchronization as dispatchPointer.
Return
focused retained result, or InputResult.Ignored without a committed frame or focus target.
Parameters
event
immutable keyboard event.
Throws
when called from the wrong thread, reentrantly, or while detached.
when focused behavior or cleanup fails; the first failure remains primary.