Creates a new instance of SyncService.
Throws an error if the browser doesn't support cross-tab communication.
Optional settings: ConfigSyncInterfaceThe optional settings for the SyncComponent.
Private Readonly allowedA function to check if a specific action is allowed.
Private Readonly channelThe channel used for communication between tabs.
Private Readonly settingsThe default settings for the SyncComponent.
Private Readonly windowIDThe unique identifier of the current tab.
Private generatePrivate initializePrivate isChecks whether the action is allowed based on the settings.
A function that takes an action and returns a boolean value indicating whether the action is allowed.
Checks whether the action is allowed based on the settings.
A function that takes an action and returns a boolean value indicating whether the action is allowed.
Generated using TypeDoc
The SyncComponent class allows synchronization of Redux state between different tabs/windows in the same browser.