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: 18 January, 2025