save
save: (arg: PreferenceArg & ITwinIdArg & TokenArg) => Promise<void>
Saves the provided preference by the key within the provided level.
If both iTwinId and iModelId are provided, the key will be saved to both levels.
If the key already exists, in either level, the preference will be updated.
@throws if any error occurs while saving.
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.