settings-datastore
Toggle table of contents
2.1.0-beta01
common
Platform filter
common
Switch theme
Search in API
settings-datastore
settings-datastore
/
de.charlex.settings.datastore
/
createDataStore
create
Data
Store
fun
createDataStore
(
migrations
:
List
<
DataMigration
<
Preferences
>
>
,
corruptionHandler
:
ReplaceFileCorruptionHandler
<
Preferences
>
?
,
scope
:
CoroutineScope
,
producePath
:
(
)
->
String
)
:
DataStore
<
Preferences
>