Skip to content

LocalSettingsRecoveryStore.keep method

LocalSettingsRecoveryStore › keep

Keeps a copy, dropping the oldest ones beyond the limit in the same transaction.

Signature:

keep(params: SettingsRecoveryStoreKeepParams): Promise<SettingsRecoveryCopy>

Parameters:

ParameterTypeDescription
paramsSettingsRecoveryStoreKeepParamsWhat to keep.

Returns: Promise<SettingsRecoveryCopy> — The kept copy, or the already kept one with the same raw text.