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:
| Parameter | Type | Description |
|---|---|---|
| params | SettingsRecoveryStoreKeepParams | What to keep. |
Returns: Promise<SettingsRecoveryCopy> — The kept copy, or the already kept one with the same raw text.