Create a new SessionRegistry instance.
Optional
Optional callback invoked when pending updates change
A SessionRegistry instance
const registry = createSessionRegistry((windowId) => { console.log('Pending update changed for', windowId);}); Copy
const registry = createSessionRegistry((windowId) => { console.log('Pending update changed for', windowId);});
Create a new SessionRegistry instance.