Skip to content

Commit

Permalink
feat: IPluginPerfStore增加remove方法以删除插件保存的Prefs
Browse files Browse the repository at this point in the history
  • Loading branch information
muedsa committed Oct 25, 2024
1 parent ab76778 commit 1b97335
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ interface IPluginPerfStore {

suspend fun <T> getOrDefault(key: PluginPerfKey<T>, default: T): T

suspend fun filter(predicate: (String) -> Boolean): Map<String, Any>

suspend fun <T> update(key: PluginPerfKey<T>, value: T)

suspend fun filter(predicate: (String) -> Boolean): Map<String, Any>
suspend fun <T> remove(key: PluginPerfKey<T>)
}

0 comments on commit 1b97335

Please sign in to comment.