dispatchAction

abstract fun dispatchAction(action: () -> Unit)(source)

Runs an authenticated remote action on the session owner thread. The adapter must validate connection ownership, endpoint generation, and event data first. State mutations are allowed; failures poison the session and preserve cleanup failure ordering.