Const
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);});
Use createSessionRegistry. Will be removed in v0.9.0.
Create a new SessionRegistry instance.