coalesce

open fun coalesce(otherEvent: T): T

Given two events, coalesce them into a single event that will be sent to JS instead of two separate events. By default, just chooses the one the is more recent, or this if timestamps are the same.

Two events will only ever try to be coalesced if they have the same event name, view id, and coalescing key.