profileName

AccessorStaticReadOnly

The name of the Profile directory (a subdirectory of "IModelHost.cacheDir/profiles/") for this process.

The Profile directory is used to cache data that is specific to a type-of-usage of the iTwin.js library. It is important that information in the profile cache be consistent but isolated across sessions (i.e. data for a profile is maintained between runs, but each profile is completely independent and unaffected by the presence ot use of others.)

profileName: string

@note Only one process at a time may be using a given profile, and an exception will be thrown by IModelHost.startup if a second process attempts to use the same profile.

Returns - string


Defined in

Last Updated: 25 April, 2024