CorePreferencesDataStore
Typed against DataStore<Preferences>, whose payload type has no wasmJs variant, so it cannot sit behind Store.
Functions
Link copied to clipboard
Presents an existing store as CorePreferencesDataStore; the wrapper adds nothing but identity.
Link copied to clipboard
Adapts a real DataStore<T> (android/jvm/iOS only — androidx.datastore:datastore has no wasmJs variant) to the platform-neutral Store. Every CoreDatastoreAndroidBindings/desktop platform call site that used to hand a DataStore<T> straight to an asCoreXDataStore() wrapper now inserts this adapter first: protoStore(...).asStore().asCoreXDataStore().
Link copied to clipboard