Creates a new StateSynchronizer instance.
The RPC client used to communicate with the remote system
Function that returns the current handle identifier
Function that returns whether the connection to the remote system is active
Callback function invoked when updates are sent to the remote system
The default state for nodes when not explicitly set (defaults to VISIBLE)
A class that wraps a StateTracker and is responsible for synchronizing its state updates with the remote RPCs. It batches updates to optimize performance and handles the communication with the remote system.