dispatchEvent

abstract fun dispatchEvent(event: Event<*>)

Sends the given Event to JS, coalescing eligible events if JS is backed up.