imodelKeyFactory
imodelKeyFactory: (imodel: IModelConnection) => string | undefined
An optional function that returns a key for the given iModel. The key is what "glues" iModel selection
changes made in selectionStorage, where iModels are identified by key, and SelectionManager, where
iModels are specified as IModelConnection.
If not provided, IModelConnection.key or IModelConnection.name is used.
Defined in
Last Updated: 28 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.