Function: prepareMessagesForProcessing()
prepareMessagesForProcessing(
rawMessages:ServerToClientMessage[],messageId:string,activeSurfaceIds:Set<string>):object
Tag messages with the given messageId and report whether any of them
carries a non-empty updateComponents. Also dedupes createSurface
messages against the set of currently-active surfaces.
Parameters
Returns
object
hasComponentUpdate
hasComponentUpdate:
boolean
messages
messages:
ServerToClientMessage[]